systemd service

This commit is contained in:
DrMaxNix 2023-04-07 14:21:30 +02:00
parent 7bcda83455
commit 5dda516e85
1 changed files with 19 additions and 0 deletions

19
srvid-beacon.service Normal file
View File

@ -0,0 +1,19 @@
[Unit]
Description=Pingable http endpoint for monitoring server uptime
After=network.target
[Service]
User=srvid-beacon
Group=srvid-beacon
ExecStart=/opt/srvid-beacon/srvid-beacond
Restart=on-failure
[Install]
WantedBy=multi-user.target