From 159cd4133f0bd93e56127b398d6223ace1deca6f Mon Sep 17 00:00:00 2001 From: Dario Date: Sat, 2 Mar 2019 16:34:25 +0100 Subject: [PATCH] Default systemd to Type=simple (#6264) --- runscripts/init.systemd | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/runscripts/init.systemd b/runscripts/init.systemd index 841fd8779f..e8ae7c1b01 100755 --- a/runscripts/init.systemd +++ b/runscripts/init.systemd @@ -50,9 +50,11 @@ After=network.target User=medusa Group=medusa -Type=forking -GuessMainPID=no -ExecStart=/usr/bin/python2.7 /opt/medusa/start.py -q --daemon --nolaunch --datadir=/opt/medusa +Type=simple +ExecStart=/usr/bin/python2.7 /opt/medusa/start.py -q --nolaunch --datadir=/opt/medusa +TimeoutStopSec=25 +KillMode=process +Restart=on-failure [Install] WantedBy=multi-user.target