Re: [systemd-devel] [ANNOUNCE] systemd 210

2014-02-24 Thread Mathieu Bridon
systemd.exec(5) says. -- Mathieu Bridon boche...@fedoraproject.org ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Installing gitlab

2014-01-23 Thread Mathieu Bridon
On Thu, 2014-01-23 at 10:51 +0100, Marwan Rabbâa wrote: that is not very useful for me. /var/www/gitlab/script/sidekiq is just a litle startup script for sidekiq #!/usr/bin/env sh cd /var/www/gitlab /usr/local/bin/bundle exec sidekiq -q

Re: [systemd-devel] Installing gitlab

2014-01-23 Thread Mathieu Bridon
On Thu, 2014-01-23 at 11:16 +0100, Marwan Rabbâa wrote: there is already Type=forking in the service section Indeed, I got confused between your two services (the second one doesn't have it). And the systemctl status output says the exit code was 1, not 0, so it has indeed nothing to do with

Re: [systemd-devel] How to permanently disable a service after first boot

2013-09-27 Thread Mathieu Bridon
Hi, On Fri, 2013-09-27 at 12:26 +0500, Muhammad Shakeel wrote: If there is a foo.service which is required to run during first system boot then what is the best solution to permanently disable it afterwards? I can think of two solutions but I am not sure which one is correct/more

[systemd-devel] [PATCH] man: Document the actual behaviour of ExecStopPost

2013-03-12 Thread Mathieu Bridon
The documentation makes it sound like ExecStopPost is only run when stopping the service with `systemctl stop foo.service` However, that is not the case, as it also gets run when the service unexpectedly exists, crashes, or gets SIGKILLed. --- man/systemd.service.xml | 9 ++--- 1 file

[systemd-devel] [PATCH] man: Document the actual behaviour of ExecStopPost

2013-03-08 Thread Mathieu Bridon
The documentation makes it sound like ExecStopPost is only run when stopping the service with `systemctl stop foo.service` However, that is not the case, as it also gets run when the service unexpectedly exists, crashes, or gets SIGKILLed. --- man/systemd.service.xml | 4 ++-- 1 file changed, 2

Re: [systemd-devel] [PATCH] man: Document the actual behaviour of ExecStopPost

2013-03-08 Thread Mathieu Bridon
On Friday, March 08, 2013 09:40 PM, Zbigniew Jędrzejewski-Szmek wrote: On Fri, Mar 08, 2013 at 04:26:36AM -0500, Mathieu Bridon wrote: The documentation makes it sound like ExecStopPost is only run when stopping the service with `systemctl stop foo.service` However, that is not the case

Re: [systemd-devel] RFC: user session lifetimes vs. $DISPLAY

2013-03-06 Thread Mathieu Bridon
On Wednesday, March 06, 2013 09:40 PM, Lennart Poettering wrote: On Tue, 05.03.13 21:24, Simon McVittie (simon.mcvit...@collabora.co.uk) wrote: (Whenever there's more than one local X11 display, gdm itself certainly needs to be able to put a small GNOME session on behalf of the special-purpose

Re: [systemd-devel] Need help with getting messages into /var/log/messages

2012-08-02 Thread Mathieu Bridon
On Wed, 2012-08-01 at 23:57 -0400, Paul Richards wrote: 1. My program just runs once on startup and then exits. Do I need to put anything in the service file for that? Use Type=oneshot in the Service section. Otherwise, by default the type is 'simple', and as such systemd will consider your

Re: [systemd-devel] Not sure if I am doing something wrong or if this is a bug.

2012-07-30 Thread Mathieu Bridon
On Mon, 2012-07-30 at 21:49 +, Jóhann B. Guðmundsson wrote: On 07/30/2012 09:13 PM, Daniel J Walsh wrote: Is this failing to see the /etc/systemd/system/httpd.service file? Or is the include failing? Include might failing since there is currently no way to replace existing entry

Re: [systemd-devel] mysqld about back to use mysqld_safe in Fedora

2012-06-27 Thread Mathieu Bridon
On Thu, 2012-06-28 at 04:02 +0200, Reindl Harald wrote: Am 28.06.2012 02:21, schrieb Tom Lane: Lennart Poettering lenn...@poettering.net writes: On Wed, 27.06.12 14:50, Honza Horak (hho...@redhat.com) wrote: One of the issue is (in)ability to imitate the original behavior of mysqld_safe,

Re: [systemd-devel] ssh socket activation (Was: systemd unit files for Debian based systems)

2012-06-20 Thread Mathieu Bridon
On Wed, 2012-06-20 at 08:44 +0200, Lennart Poettering wrote: On Wed, 20.06.12 10:17, Mathieu Bridon (boche...@fedoraproject.org) wrote: On Tue, 2012-06-19 at 19:15 +0200, Lennart Poettering wrote: On Tue, 19.06.12 18:50, Michael Olbrich (m.olbr...@pengutronix.de) wrote: Hi

Re: [systemd-devel] ssh socket activation (Was: systemd unit files for Debian based systems)

2012-06-19 Thread Mathieu Bridon
On Tue, 2012-06-19 at 19:15 +0200, Lennart Poettering wrote: On Tue, 19.06.12 18:50, Michael Olbrich (m.olbr...@pengutronix.de) wrote: Hi, On Tue, Jun 19, 2012 at 10:03:23AM +0200, Lennart Poettering wrote: On Mon, 18.06.12 21:56, Paul Menzel (paulepan...@users.sourceforge.net)

Re: [systemd-devel] Adding a service file to run with system-update.target

2012-06-01 Thread Mathieu Bridon
On Fri, 2012-06-01 at 23:42 +0100, Richard Hughes wrote: I've been playing with the offline updates thing a bit. Is this the kind of service file that PackageKit should install into /usr/lib/systemd/system/ ? [Unit] Description=Updates the operating system whilst offline

Re: [systemd-devel] Documentation question

2012-02-28 Thread Mathieu Bridon
On Tue, 2012-02-28 at 21:19 -0600, David Lambert wrote: I have got a little further in diagnosing this memory leak of systemd-journal. It appears to worsen when I have a process that emits data to stdout. I presume that systemd-journal is attempting to put this somewhere but failing, and

[systemd-devel] Mount units don't create their mount points at boot-time

2012-01-05 Thread Mathieu Bridon
Hi, I'm playing with mount units as a replacement of traditional fstab declaration as I'd like to use some systemd facilities, for example requirements between services and their underlying storage. The systemd.mount(5) manual says: If the mount point is not existing at time of mounting, it

Re: [systemd-devel] help on syslog-ng and systemd-kmsg-syslogd.service

2011-12-12 Thread Mathieu Bridon
On Mon, 2011-12-12 at 18:12 +0800, microcai wrote: Hi guys. I had this issue since the release of systemd-37. system start up hang on syslog-ng If I comment out ExecStartPre=/bin/systemctl stop systemd-kmsg-syslogd.service then system boots successfull. But, dbus-daemon keep on poluting

Re: [systemd-devel] How to properly allow user to adjust LimitNOFILE?

2011-11-22 Thread Mathieu Bridon
On Tue, 2011-11-22 at 20:51 +0300, Peter Lemenkov wrote: Hello! I already found that I could add LimitNOFILE=2048 to the Service section to explicitly set max number of opened files but I need something different. I want to allow user to specify it and set it only in case he specifies it.

Re: [systemd-devel] question

2011-09-14 Thread Mathieu Bridon
On Wed, 2011-09-14 at 10:50 +0200, Reindl Harald wrote: Am 14.09.2011 10:11, schrieb Jóhann B. Guðmundsson: please open a bugreport - maybe they would hear if i am not would be the only person who is unhappy about what was done with F15 but all others out there are silent and hoping for

Re: [systemd-devel] Restart and RestartSec in packaged .service files

2011-09-01 Thread Mathieu Bridon
On Thu, 2011-09-01 at 11:50 +0200, Reindl Harald wrote: Am 01.09.2011 11:45, schrieb Jan Willies: 2011/9/1 Reindl Harald h.rei...@thelounge.net mailto:h.rei...@thelounge.net also having the restart-options but no way to set them without override the whole .service file is

Re: [systemd-devel] bug or I misunderstand systemd configuration rules ?

2011-08-25 Thread Mathieu Bridon
On Thu, 2011-08-25 at 21:33 +0200, Warpme wrote: 4\systemctl restart daemon1 restarts also application1 [... snip ...] Unfortunately for 4\ systemctl hangs during execution systemctl restart daemon1. It is bug or I completely misunderstand systemd configuration rules ? I found the same

[systemd-devel] systemd with older kernels (Was: Re: getting the fedora 13 systemd qemu image)

2011-08-18 Thread Mathieu Bridon
On Thu, 2011-08-18 at 08:13 -0700, Leisner, Martin wrote: I want to use an out of date image -- I'm looking to port to 2.6.34... (I even had to start patching the kernel to give me /sys/fs/cgroup -- I don't have the hierarchy under that yet). I'm building systemd-5 for starters...(it works