Add a delay for auto restart in systemd service
This commit is contained in:
parent
0c7ff3501c
commit
d176ae28fb
|
@ -9,6 +9,7 @@ Type=simple
|
||||||
ExecStart=/usr/local/sbin/shellpki ocsp ocsp.example.com:8888
|
ExecStart=/usr/local/sbin/shellpki ocsp ocsp.example.com:8888
|
||||||
KillMode=process
|
KillMode=process
|
||||||
Restart=always
|
Restart=always
|
||||||
|
RestartSec=2s
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Reference in New Issue