Add example systemd unit file

This commit is contained in:
prplecake 2022-09-05 20:42:09 -05:00
parent 2880de9dda
commit 2edcea2409
No known key found for this signature in database
GPG Key ID: 5C3C6C19379A53AC
1 changed files with 15 additions and 0 deletions

View File

@ -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