services/siahsd: Permit PID file to be written

This commit is contained in:
polyfloyd 2022-10-28 14:00:11 +02:00
parent f6c4f1c887
commit fb420558c9
3 changed files with 7 additions and 5 deletions

View file

@ -1,5 +1,5 @@
[siahsd]
pid file = /run/siahsd.pid
pid file = /run/siahsd/siahsd.pid
log file = /var/log/siahsd/siahsd.log
log level = 3
foreground = 0

View file

@ -6,12 +6,11 @@ After=network.target
[Service]
Type=forking
PIDFile=/run/siahsd.pid
PIDFile=/run/siahsd/siahsd.pid
Restart=always
RestartSec=2s
RestartSec=10s
ExecStart=/usr/local/src/siahsd/build/siahsd
User=siahsd
[Install]
WantedBy=multi-user.target