From: Christian Heller Date: Sun, 5 Oct 2025 01:44:24 +0000 (+0200) Subject: Fix. X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/%7B%7B%20deck_id%20%7D%7D/cards?a=commitdiff_plain;p=config Fix. --- diff --git a/trixie/copy/ircplom/etc/systemd/system/ircplom.service b/trixie/copy/ircplom/etc/systemd/system/ircplom.service index af5c5c3..da0f67a 100644 --- a/trixie/copy/ircplom/etc/systemd/system/ircplom.service +++ b/trixie/copy/ircplom/etc/systemd/system/ircplom.service @@ -9,7 +9,7 @@ WorkingDirectory=/home/plom # once per second check if dtach file still exists, only declare run over (and thereby re-start possible) once it doesn't ExecStart=/bin/sh -lc "dtach -n /tmp/dtach_ircplom ircplom && while true; do sleep 1; test ! -e /tmp/dtach_ircplom && break; done" ExecStop=/bin/sh -lc "rm -f /tmp/dtach_ircplom" -Environment=TERM=linux +Environment=TERM=screen-256color Restart=on-success # leave enough time for manual intervention if need be RestartSec=10