init
This commit is contained in:
commit
b767272cf1
12
blueprints/unitservice@.service
Normal file
12
blueprints/unitservice@.service
Normal file
|
@ -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:
|
Loading…
Reference in New Issue
Block a user