[systemd-devel] [PATCH] gperf: Include missing.h.

2011-08-02 Thread Thierry Reding
Older GNU C libraries don't define RLIMIT_RTTIME, so including the missing.h is required to fix the build. --- src/load-fragment-gperf.gperf.m4 |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/load-fragment-gperf.gperf.m4 b/src/load-fragment-gperf.gperf.m4 index 650f444

[systemd-devel] Tomcat.service / PID aquiring

2011-08-02 Thread Josh Geisser
Hi there We developt an own rc script a while ago for maintaining our tomcats. (mainly improved shutdown behaviour with eventual kill). The script takes start/Stopp/status as arguments, and identifies the right PID by a filtered 'ps'. It also keeps track of the tomcats pid in an own pid-file.

[systemd-devel] [ANNOUNCE] systemd 33

2011-08-02 Thread Lennart Poettering
Heya, http://www.freedesktop.org/software/systemd/systemd-33.tar.bz2 Mostly optimizations and bug fixes, but some minor new features, such as the nifty PrivateNetwork= service setting, which allows you to shut off networking for a specific service (i.e. all routable network interfaces will disapp

[systemd-devel] [PATCH] build-sys: Add --disable-timedated configure switch

2011-08-02 Thread Miklos Vajna
Hi, See the attached patch. Thanks. From da6a563f9e44dc032ac94bdb1e1c71dc77ed6f92 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Tue, 2 Aug 2011 23:58:46 +0200 Subject: [PATCH] build-sys: Add --disable-timedated configure switch --- Makefile.am | 52 ++

Re: [systemd-devel] Using Multiple EnvironmentFile lines

2011-08-02 Thread Steve Dickson
On 08/02/2011 03:17 PM, "Jóhann B. Guðmundsson" wrote: > On 08/02/2011 07:11 PM, Mantas Mikulėnas wrote: >> t doesn't make much sense for me to run nfsd, mountd, rquotad and everything >> from a single .service unit - after all, they are separate services with >> their own protocols... I might

Re: [systemd-devel] Using Multiple EnvironmentFile lines

2011-08-02 Thread Kay Sievers
2011/8/2 "Jóhann B. Guðmundsson" : > On 08/02/2011 07:11 PM, Mantas Mikulėnas wrote: >> >> t doesn't make much sense for me to run nfsd, mountd, rquotad and >> everything from a single .service unit - after all, they are separate >> services with their own protocols... I might want to just restart

Re: [systemd-devel] Using Multiple EnvironmentFile lines

2011-08-02 Thread Jóhann B. Guðmundsson
On 08/02/2011 07:11 PM, Mantas Mikulėnas wrote: t doesn't make much sense for me to run nfsd, mountd, rquotad and everything from a single .service unit - after all, they are separate services with their own protocols... I might want to just restart rpc.idmapd without killing the rest of NFS.

Re: [systemd-devel] Using Multiple EnvironmentFile lines

2011-08-02 Thread Mantas Mikulėnas
(Apparently, I've still yet to learn the difference between "Reply" and "Reply to List". Bleh. Disregard duplicates.) On Tue, Aug 02, 2011 at 08:36:49AM -0400, Steve Dickson wrote: > [...] > So the nfs-server.service looks like: > > [Unit] > Description=NFS Protocol Daemon > After=network.target

[systemd-devel] start service only on specific exit status of some prog

2011-08-02 Thread Marius Tolzmann
hi.. since conditions specifying wheter a service should start are somehow limited to the existence of some files/directories/etc. i was searching for something more complex to handle conditional service starts. is there a way to execute a program and take its exit status to evaluate the co

[systemd-devel] net stats per app

2011-08-02 Thread Daniel Wagner
Hi, I would like to do network statistics per application. That is all traffic generated by an instance of an application through its sockets should be collected and stored persistently. There are a few sub problems to solve. Let's start with Android. They have added a driver [1] to Linux which c

Re: [systemd-devel] systemd automounts

2011-08-02 Thread Steve Dickson
On 08/02/2011 08:55 AM, Mirco Tischler wrote: > 2011/8/2 Steve Dickson : >> >> >> On 08/02/2011 04:35 AM, Mirco Tischler wrote: >>> 2011/8/2 Steve Dickson : On 08/01/2011 09:10 PM, Mirco Tischler wrote: > Hi > 2011/8/2 Steve Dickson : >>> >>> Yes, this looks like a

Re: [systemd-devel] systemd automounts

2011-08-02 Thread Mirco Tischler
2011/8/2 Steve Dickson : > > > On 08/02/2011 04:35 AM, Mirco Tischler wrote: >> 2011/8/2 Steve Dickson : >>> >>> >>> On 08/01/2011 09:10 PM, Mirco Tischler wrote: Hi 2011/8/2 Steve Dickson : >> >> Yes, this looks like a good usecase. >> >> Hmm, does the automount point wor

[systemd-devel] Using Multiple EnvironmentFile lines

2011-08-02 Thread Steve Dickson
Hello, I noticed that the ypbind.service used multiple EnvironmentFile lines so thought this would be a good way to build command lines to daemons on the fly... So the nfs-server.service looks like: [Unit] Description=NFS Protocol Daemon After=network.target rpcbind.service ConditionPathIsDire

Re: [systemd-devel] systemd automounts

2011-08-02 Thread Steve Dickson
On 08/02/2011 04:35 AM, Mirco Tischler wrote: > 2011/8/2 Steve Dickson : >> >> >> On 08/01/2011 09:10 PM, Mirco Tischler wrote: >>> Hi >>> 2011/8/2 Steve Dickson : > > Yes, this looks like a good usecase. > > Hmm, does the automount point work after boot? It seems so, because

Re: [systemd-devel] systemd automounts

2011-08-02 Thread Mirco Tischler
2011/8/2 Steve Dickson : > > > On 08/01/2011 09:10 PM, Mirco Tischler wrote: >> Hi >> 2011/8/2 Steve Dickson : Yes, this looks like a good usecase. Hmm, does the automount point work after boot? >>> It seems so, because if I restart nfs-idmap.service the >>> service comes up. >>