Added sample systemd unit file

This commit is contained in:
Nico Weichbrodt 2018-11-10 15:42:46 +00:00
parent ab927ed371
commit 5ad928837e
1 changed files with 13 additions and 0 deletions

13
contrib/hagrid.service Normal file
View File

@ -0,0 +1,13 @@
[Unit]
Description=Hagrid Verifying Keyserver
After=network.target
[Service]
ExecStart=/opt/garbage-pile/target/release/garbage-pile /opt/garbage-pile/dist
WorkingDirectory=/opt/garbage-pile
User=hagrid
Group=hagrid
StandardOutput=syslog
[Install]
WantedBy=multi-user.target