commit b767272cf1e49b12e8c0ef8eae6a830f8908ffc1 Author: Blallo Date: Wed Nov 27 22:40:23 2024 +0100 init 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: