Add example systemd unit file
This commit is contained in:
parent
2880de9dda
commit
2edcea2409
|
@ -0,0 +1,15 @@
|
|||
[Unit]
|
||||
Description=BirdsiteLive
|
||||
Wants=network.target
|
||||
Wants=postgresql.target
|
||||
|
||||
[Service]
|
||||
User=bsl
|
||||
Group=bsl
|
||||
Type=simple
|
||||
WorkingDirectory=/home/bsl/bsl/
|
||||
ExecStart=/home/bsl/bsl/BirdsiteLive
|
||||
ExecStop=/usr/bin/pkill BirdsiteLive
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Reference in New Issue