Re: [systemd-devel] Best way of configuring service

2012-09-24 Thread Colin Guthrie
'Twas brillig, and Malte Starostik at 24/09/12 22:52 did gyre and gimble: > Hi Dan, > > Am Montag, 24. September 2012, 21:58:17 schrieb Daniel Tihelka: >> On 9/24/12, Lennart Poettering wrote: > >>> Hmm, so systemd unit files are not really supposed to the place where >>> daemon-specific configu

Re: [systemd-devel] Best way of configuring service

2012-09-24 Thread Malte Starostik
Hi Dan, Am Montag, 24. September 2012, 21:58:17 schrieb Daniel Tihelka: > On 9/24/12, Lennart Poettering wrote: > > Hmm, so systemd unit files are not really supposed to the place where > > daemon-specific configuration bits are encoded. If a daemon requires > > specific configuration my recomme

Re: [systemd-devel] Best way of configuring service

2012-09-24 Thread Lennart Poettering
On Mon, 24.09.12 21:58, Daniel Tihelka (dtihe...@gmail.com) wrote: > But still, there are java-specific options which must be set (and may > be required to be customized) as well - for example the -Xmx or -Xms > settings. And I am most likely not able to change it in java :-) If it is likely that

Re: [systemd-devel] Best way of configuring service

2012-09-24 Thread David Strauss
The EnvironmentFile= option may be useful for specifying a sort of poor man's configuration file. -- David Strauss | da...@davidstrauss.net ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listin

Re: [systemd-devel] Best way of configuring service

2012-09-24 Thread Daniel Tihelka
On 9/24/12, Lennart Poettering wrote: > On Sun, 23.09.12 23:04, Dan Tihelka (dtihe...@gmail.com) wrote: > >> Dear all, >> I porting the start scripts of cruisecontrol system to the native systemd >> >> service configuration. It goes quiet well, the only "trouble" I have with >> the >> options conf

Re: [systemd-devel] Best way of configuring service

2012-09-24 Thread Lennart Poettering
On Sun, 23.09.12 23:04, Dan Tihelka (dtihe...@gmail.com) wrote: > Dear all, > I porting the start scripts of cruisecontrol system to the native systemd > service configuration. It goes quiet well, the only "trouble" I have with the > options configuration. > > Since cruisecontrol is written in

[systemd-devel] Best way of configuring service

2012-09-23 Thread Dan Tihelka
Dear all, I porting the start scripts of cruisecontrol system to the native systemd service configuration. It goes quiet well, the only "trouble" I have with the options configuration. Since cruisecontrol is written in Java, there are two ways of how to configure the daemon (and CC use them bot