# 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"
# 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"