From bfb9aac668ff85a3fd962eb105174e4f9f76520e Mon Sep 17 00:00:00 2001 From: Maniack Crudelis Date: Mon, 5 Feb 2018 20:23:47 +0100 Subject: [PATCH] Fix server restarting --- conf/systemd.service | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conf/systemd.service b/conf/systemd.service index 1f24dbd..32b995f 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -1,6 +1,6 @@ [Unit] Description=Etherpad-lite, the collaborative editor. -After=network.target +After=syslog.target network.target [Service] Type=simple @@ -9,6 +9,7 @@ Group=__APP__ ExecStartPre=__NODEJS__ Environment="PATH=__ENV_PATH__" ExecStart=__FINALPATH__/bin/safeRun.sh /var/log/__APP__/etherpad.log +Restart=always [Install] WantedBy=multi-user.target