Skip to content

Commit

Permalink
Default systemd to Type=simple (#6264)
Browse files Browse the repository at this point in the history
  • Loading branch information
medariox authored Mar 2, 2019
1 parent 71ed9de commit 159cd41
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions runscripts/init.systemd
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 159cd41

Please sign in to comment.