Add systemd unit

Adds an example systemd unit.
This commit is contained in:
Felix Niederwanger 2023-04-21 18:56:27 +02:00
parent 35719a4976
commit 041922b02f
Signed by: phoenix
GPG key ID: 6E77A590E3F6D71C

12
weblug.service Normal file
View file

@ -0,0 +1,12 @@
[Unit]
Description=weblug - webhook Service
After=network.target
[Service]
Type=simple
WorkingDirectory=/var/lib/empty
ExecStart=/usr/bin/weblug /etc/weblug.yml
Restart=on-failure
[Install]
WantedBy=multi-user.target