From b767272cf1e49b12e8c0ef8eae6a830f8908ffc1 Mon Sep 17 00:00:00 2001 From: Blallo Date: Wed, 27 Nov 2024 22:40:23 +0100 Subject: [PATCH] init --- blueprints/unitservice@.service | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 blueprints/unitservice@.service diff --git a/blueprints/unitservice@.service b/blueprints/unitservice@.service new file mode 100644 index 0000000..61b1c3e --- /dev/null +++ b/blueprints/unitservice@.service @@ -0,0 +1,12 @@ +[Unit] +Description=Manages service %i + +[Service] +Environment=DATA=/opt/%i +ExecStart=/var/unit/%i/run.sh +Restart=on-failure + +[Install] +WantedBy=unit.target + +# vim:ft=dosini: