diff --git a/systemd-copypasta.txt b/systemd-copypasta.txt index 71fbc66..de1ccc1 100644 --- a/systemd-copypasta.txt +++ b/systemd-copypasta.txt @@ -19,10 +19,8 @@ ExecStart=/usr/bin/screen -DmS mc-%i /bin/sh start.sh ExecReload=/usr/bin/screen -p 0 -S mc-%i -X eval 'stuff "reload"\\015' ExecStop=/usr/bin/screen -p 0 -S mc-%i -X eval 'stuff "end"\\015' ExecStop=/usr/bin/screen -p 0 -S mc-%i -X eval 'stuff "stop"\\015' -ExecStop=/bin/sh -c 'sleep 10' Restart=on-failure -RestartSec=60s [Install] WantedBy=multi-user.target