Add a delay for auto restart in systemd service

This commit is contained in:
Victor LABORIE 2018-06-27 19:04:59 +02:00
parent 0c7ff3501c
commit d176ae28fb
1 changed files with 1 additions and 0 deletions

View File

@ -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