Re: [systemd-devel] Difference between After and RequiredBy

2011-11-29 Thread Colin Guthrie
'Twas brillig, and Edward Z. Yang at 29/11/11 16:41 did gyre and gimble: > Excerpts from Colin Guthrie's message of Tue Nov 29 11:32:01 -0500 2011: >> I think RequiredBy is just the same semantically as Requires (it just >> allows the requirement to be specified in a remote unit), in which case >>

[systemd-devel] Problems running services on system shutdown before umount

2011-11-29 Thread Mads Kiilerich
I would like to write to a log file on a local file system on system shutdown (or just before). I have problems getting that right. It seems like the file systems often get unmounted before my service is executed. I guess it is the special umount.target that is umounting? poweroff.service (a

Re: [systemd-devel] Difference between After and RequiredBy

2011-11-29 Thread Edward Z. Yang
Excerpts from Colin Guthrie's message of Tue Nov 29 11:32:01 -0500 2011: > I think RequiredBy is just the same semantically as Requires (it just > allows the requirement to be specified in a remote unit), in which case > this section from the manual page (man 5 systemd.unit) should explain > things

Re: [systemd-devel] Difference between After and RequiredBy

2011-11-29 Thread Peter Sztan
Edward Z. Yang MIT.EDU> writes: > are. One particular point of contention is this: what is the > difference between 'After' and 'RequiredBy'? Which is correct > in this circumstance? > After does not mean the unit is required, it only says that if the unit mentioned is there, it should be orde

Re: [systemd-devel] Difference between After and RequiredBy

2011-11-29 Thread Colin Guthrie
'Twas brillig, and Edward Z. Yang at 29/11/11 16:19 did gyre and gimble: > Hello folks, > > On this ticket [1], we're attempting to figure out what > the relationship between services like httpd.service and remote-fs.target > are. One particular point of contention is this: what is the > differen

[systemd-devel] Difference between After and RequiredBy

2011-11-29 Thread Edward Z. Yang
Hello folks, On this ticket [1], we're attempting to figure out what the relationship between services like httpd.service and remote-fs.target are. One particular point of contention is this: what is the difference between 'After' and 'RequiredBy'? Which is correct in this circumstance? Thanks,

Re: [systemd-devel] Cannot make java exit 0 on SIGTERM

2011-11-29 Thread Peter Sztan
Chris Paulson-Ellis edesix.com> writes: > Is there any way to get systemd to treat the 143 exit status as normal > termination if it sent a SIGTERM? I'd rather not write a signal catching > C or shell-script wrapper around the JVM as I'll probably introduce a > race condition or other error.

Re: [systemd-devel] RefuseEnable

2011-11-29 Thread Peter Sztan
Michael D. Berger ieee.org> writes: > > Is there a way to prevent a service from being enabled? > Thanks, > Mike. > -- Yes there is, see: http://0pointer.de/public/systemd-man/systemctl.html search for 'mask' ___ systemd-devel mailing list systemd-d