forked from bitlair/ansible
services/siahsd: Permit PID file to be written
This commit is contained in:
parent
f6c4f1c887
commit
fb420558c9
3 changed files with 7 additions and 5 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue