Re: [systemd-devel] require=? to prevent premature session termination

2018-10-06 Thread Ralf Sieger
Yes, restart of the whole system.   Regards, Ralf     Gesendet: Samstag, 06. Oktober 2018 um 05:46 Uhr Von: "Andrei Borzenkov" An: systemd-devel@lists.freedesktop.org Betreff: Re: [systemd-devel] require=? to prevent premature session termination 05.10.2018 15:52, Ralf Sieger п

Re: [systemd-devel] require=? to prevent premature session termination

2018-10-05 Thread Ralf Sieger
8 um 15:03 Uhr Von: "Reindl Harald" An: systemd-devel@lists.freedesktop.org Betreff: Re: [systemd-devel] require=? to prevent premature session termination Am 05.10.18 um 14:52 schrieb Ralf Sieger: > my service needs to delay the stop of ssh during shutdown. > New ssh connections

[systemd-devel] require=? to prevent premature session termination

2018-10-05 Thread Ralf Sieger
Hi,   my service needs to delay the stop of ssh during shutdown. New ssh connections while my service is still runnign must be accpted, too.   So far I was able to postpone the stop of ssh and allow new connections: [Unit] BindsTo=ssh.service getty.target After=ssh.service getty.target   [

Re: [systemd-devel] blocking service on shutdown

2018-09-04 Thread Ralf Sieger
: "Michael Biebl" An: "Ralf Sieger" Cc: "systemd Mailing List" Betreff: Re: Re: [systemd-devel] blocking service on shutdown 2018-09-04 18:17 GMT+02:00 Ralf Sieger : > Hi Michael, > > this solution has a couple of drawbacks: > - block will let shutdo

Re: [systemd-devel] blocking service on shutdown

2018-09-04 Thread Ralf Sieger
Hi Michael,   this solution has a couple of drawbacks: - block will let shutdown, etc. fail, I do only need a pause/wait - delay does not work with reboot     Regards, Ralf     Gesendet: Sonntag, 02. September 2018 um 19:15 Uhr Von: "Michael Biebl" An: "Ralf Sieger

Re: [systemd-devel] blocking service on shutdown

2018-09-02 Thread Ralf Sieger
ot; An: systemd-devel@lists.freedesktop.org Betreff: Re: [systemd-devel] blocking service on shutdown Am 02.09.18 um 15:37 schrieb Ralf Sieger: > I want my system to pause on shutdown to wait till my backup has > finished if it is running. > For this I've created this small service

[systemd-devel] blocking service on shutdown

2018-09-02 Thread Ralf Sieger
Hi,   I want my system to pause on shutdown to wait till my backup has finished if it is running. For this I've created this small service:   [Unit] Description=borg shutdown wait [Service] Type=oneshot ExecStart=/bin/true RemainAfterExit=true ExecStop=/usr/local/bin/wait_borg TimeoutStopSe