[systemd-devel] does "Before=network.target" really work

2016-06-24 Thread Xin Long
Hi, I have a service, and want it to be stopped only after network is stopped when system shutdown. I checked "man systemd.special ", network is a special internal service for systemd, , and I found "network.target": "at shutdown, a unit that is ordered after network.target will be stopped

Re: [systemd-devel] how to use per-user systemd --user services / how to replace /etc/xdg/autostart/app.desktop?

2016-06-24 Thread Martin Pitt
Mantas Mikulėnas [2016-06-16 16:03 +0300]: > So I would create a separate graphical.target and manually `systemctl > start` it via .xprofile or such. (Don't forget, also, that graphical > programs usually need $DISPLAY, and this is only imported to the --user > manager /after/ default.target has

[systemd-devel] x bits set on /run/systemd/private, any particular reason?

2016-06-24 Thread Hoyer, Marko (ADITG/SW2)
Hi, I'm not an expert on Linux access right management but I'm wondering why systemd's private socket (/run/systemd/private) has the x bits set. Did it happen accidently? Can someone explain? Best regards Marko Hoyer Advanced Driver Information Technology GmbH Software Group II (ADITG/SW2)

Re: [systemd-devel] does "Before=network.target" really work

2016-06-24 Thread Xin Long
On Fri, Jun 24, 2016 at 6:23 PM, Andrei Borzenkov wrote: > On Fri, Jun 24, 2016 at 1:11 PM, Xin Long wrote: >> Hi, >> >> I have a service, and want it to be stopped only after network is >> stopped when system shutdown. >> >> I checked "man

Re: [systemd-devel] does "Before=network.target" really work

2016-06-24 Thread Michael Hirmke
Hi Xin, >Hi, >I have a service, and want it to be stopped only after network is >stopped when system shutdown. >I checked "man systemd.special ", network is a special internal >service for systemd, , and I found "network.target": >"at shutdown, a unit that is ordered after network.target will

Re: [systemd-devel] does "Before=network.target" really work

2016-06-24 Thread Andrei Borzenkov
On Fri, Jun 24, 2016 at 1:11 PM, Xin Long wrote: > Hi, > > I have a service, and want it to be stopped only after network is > stopped when system shutdown. > > I checked "man systemd.special ", network is a special internal > service for systemd, , and I found

Re: [systemd-devel] does "Before=network.target" really work

2016-06-24 Thread Xin Long
On Fri, Jun 24, 2016 at 6:22 PM, Michael Hirmke wrote: > Hi Xin, > >>Hi, > >>I have a service, and want it to be stopped only after network is >>stopped when system shutdown. > >>I checked "man systemd.special ", network is a special internal >>service for systemd, , and I

Re: [systemd-devel] does "Before=network.target" really work

2016-06-24 Thread Andrei Borzenkov
On Fri, Jun 24, 2016 at 1:41 PM, Xin Long wrote: > On Fri, Jun 24, 2016 at 6:23 PM, Andrei Borzenkov wrote: >> On Fri, Jun 24, 2016 at 1:11 PM, Xin Long wrote: >>> Hi, >>> >>> I have a service, and want it to be stopped only after

Re: [systemd-devel] Erlang bindings for systemd-notify API

2016-06-24 Thread Lennart Poettering
On Thu, 23.06.16 16:12, Peter Lemenkov (lemen...@gmail.com) wrote: > Sorry for resurrecting of an old thread, but I really hope to finish > this task :) > What should I do for moving this library under systemd umbrella? > What's the next step? I copied your repo now into the systemd umbrella,

Re: [systemd-devel] x bits set on /run/systemd/private, any particular reason?

2016-06-24 Thread Mantas Mikulėnas
On Fri, Jun 24, 2016 at 2:24 PM, Hoyer, Marko (ADITG/SW2) < mho...@de.adit-jv.com> wrote: > Hi, > > > > I’m not an expert on Linux access right management but I’m wondering why > systemd’s private socket (/run/systemd/private) has the x bits set. Did it > happen accidently? > Immediately after

Re: [systemd-devel] x bits set on /run/systemd/private, any particular reason?

2016-06-24 Thread Lennart Poettering
On Fri, 24.06.16 11:24, Hoyer, Marko (ADITG/SW2) (mho...@de.adit-jv.com) wrote: > Hi, > > I'm not an expert on Linux access right management but I'm wondering > why systemd's private socket (/run/systemd/private) has the x bits > set. Did it happen accidently? We don't do that explicitly.

Re: [systemd-devel] Erlang bindings for systemd-notify API

2016-06-24 Thread Peter Lemenkov
Hello All! 2016-06-24 17:28 GMT+02:00 Lennart Poettering : > On Thu, 23.06.16 16:12, Peter Lemenkov (lemen...@gmail.com) wrote: > >> Sorry for resurrecting of an old thread, but I really hope to finish >> this task :) >> What should I do for moving this library under