Added a 60 second delay to restart in unit files.

Signed-off-by: digimer <mkelly@alteeve.ca>
main
digimer 11 months ago
parent f25323ba9b
commit 0d06004a3b
  1. 1
      units/anvil-daemon.service
  2. 1
      units/scancore.service

@ -7,6 +7,7 @@ Type=simple
ExecStart=/usr/sbin/anvil-daemon ExecStart=/usr/sbin/anvil-daemon
ExecStop=/bin/kill -WINCH ${MAINPID} ExecStop=/bin/kill -WINCH ${MAINPID}
Restart=always Restart=always
RestartSec=60
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target

@ -7,6 +7,7 @@ Type=simple
ExecStart=/usr/sbin/scancore ExecStart=/usr/sbin/scancore
ExecStop=/bin/kill -WINCH ${MAINPID} ExecStop=/bin/kill -WINCH ${MAINPID}
Restart=always Restart=always
RestartSec=60
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target

Loading…
Cancel
Save