Add systemd unit
Adds an example systemd unit.
This commit is contained in:
parent
35719a4976
commit
041922b02f
12
weblug.service
Normal file
12
weblug.service
Normal 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
|
Loading…
Reference in a new issue