From 16f82777db169a562e6fd739bdc42d085428bf98 Mon Sep 17 00:00:00 2001 From: Jimmy Monin Date: Fri, 1 Jun 2018 19:08:14 +0200 Subject: [PATCH] Configure systemd to auto-restart the service --- conf/systemd.service | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conf/systemd.service b/conf/systemd.service index 0d2d249..8177935 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -6,6 +6,8 @@ After=network.target mysql.service User=__APP__ Group=__APP__ ExecStart=/usr/bin/php __FINALPATH__/update_daemon2.php +Restart=always +RestartSec=10 [Install] WantedBy=multi-user.target