Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #242908
| From | Andrei POPESCU <andreimpopescu@gmail.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: How to cause a process started in .xsessionrc to terminate with x-session termination? |
| Date | 2021-12-10 15:10 +0100 |
| Message-ID | <DsOL0-7nZ-7@gated-at.bofh.it> (permalink) |
| References | (4 earlier) <DlFt9-248-19@gated-at.bofh.it> <DlFW9-2sS-1@gated-at.bofh.it> <Dmjqx-Ko-1@gated-at.bofh.it> <DmjTA-TP-7@gated-at.bofh.it> <DmkFX-1p4-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
On Lu, 22 nov 21, 11:39:46, Greg Wooledge wrote:
>
> That's as far as I got. If the OP wants to try writing a systemd --user
> unit file for their unison thingy, and see if that starts and stops in
> a way that they find acceptable, that would be a cool experiment.
It's a good way to run background user services.
One less obvious pitfall is that user services/targets/etc. can't
reference system services, so something like
Wants=network-online.target
will have no effect. I'm using this hack instead:
ExecStartPre=/usr/bin/sh -c 'until systemctl --quiet is-active network-online.target ; do sleep 1 ; done'
(a system service pulling network-online.target is also necessary,
because as per above, the user service can't do that, see
systemd.special(7) for details)
Kind regards,
Andrei
--
http://wiki.debian.org/FAQsFromDebianUser
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How to cause a process started in .xsessionrc to terminate with x-session termination? Arkadiusz Dabrowski <ardabro@gmail.com> - 2021-11-17 22:40 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Greg Wooledge <greg@wooledge.org> - 2021-11-17 23:10 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Brian <ad44@cityscape.co.uk> - 2021-11-18 00:50 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Greg Wooledge <greg@wooledge.org> - 2021-11-18 14:10 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? songbird <songbird@anthive.com> - 2021-11-18 14:10 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? David Wright <deblis@lionunicorn.co.uk> - 2021-11-18 21:40 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Greg Wooledge <greg@wooledge.org> - 2021-11-18 21:50 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Jonathan Dowland <jon+debian-user@dow.land> - 2021-11-18 22:30 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Greg Wooledge <greg@wooledge.org> - 2021-11-18 23:00 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Arkadiusz Dabrowski <ardabro@gmail.com> - 2021-11-18 23:10 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Brian <ad44@cityscape.co.uk> - 2021-11-19 19:40 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Arkadiusz Dabrowski <ardabro@gmail.com> - 2021-11-20 21:50 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Greg Wooledge <greg@wooledge.org> - 2021-11-20 22:20 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Arkadiusz Dabrowski <ardabro@gmail.com> - 2021-11-21 19:20 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Greg Wooledge <greg@wooledge.org> - 2021-11-21 20:20 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Arkadiusz Dabrowski <ardabro@gmail.com> - 2021-11-21 20:50 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? David Wright <deblis@lionunicorn.co.uk> - 2021-11-22 06:50 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Greg Wooledge <greg@wooledge.org> - 2021-11-22 13:40 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? David Wright <deblis@lionunicorn.co.uk> - 2021-11-22 21:50 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Musbur <musbur@posteo.org> - 2021-11-22 16:30 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Greg Wooledge <greg@wooledge.org> - 2021-11-22 17:00 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Greg Wooledge <greg@wooledge.org> - 2021-11-22 17:50 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Jonathan Dowland <jon+debian-user@dow.land> - 2021-11-23 13:10 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Greg Wooledge <greg@wooledge.org> - 2021-11-23 14:00 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? David Wright <deblis@lionunicorn.co.uk> - 2021-11-23 16:30 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Andrei POPESCU <andreimpopescu@gmail.com> - 2021-12-10 14:40 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Andrei POPESCU <andreimpopescu@gmail.com> - 2021-12-10 15:10 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? David Wright <deblis@lionunicorn.co.uk> - 2021-11-22 21:50 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Greg Wooledge <greg@wooledge.org> - 2021-11-22 22:20 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? David Wright <deblis@lionunicorn.co.uk> - 2021-11-23 16:30 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Jonathan Dowland <jon+debian-user@dow.land> - 2021-11-18 22:30 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Mark Neyhart <Mark.Neyhart@akleg.gov> - 2021-11-18 22:20 +0100
csiph-web