Re: [systemd-devel] environment variable questions

2016-06-17 Thread Mantas Mikulėnas
On Fri, Jun 17, 2016 at 7:04 PM, Brian Kroth wrote: > Mantas Mikulėnas 2016-06-17 07:47: > > On Fri, Jun 17, 2016 at 6:01 AM, Brian Kroth wrote: >> >> Hi again, related to my inetd conversion example, in my .service unit I >>> have

Re: [systemd-devel] environment variable questions

2016-06-17 Thread Brian Kroth
Mantas Mikulėnas 2016-06-17 07:47: On Fri, Jun 17, 2016 at 6:01 AM, Brian Kroth wrote: Hi again, related to my inetd conversion example, in my .service unit I have something like this: # nagios-nrpe-server@.service: [Service] Environment=NICENESS=0

Re: [systemd-devel] environment variable questions

2016-06-16 Thread Mantas Mikulėnas
On Fri, Jun 17, 2016 at 6:01 AM, Brian Kroth wrote: > Hi again, related to my inetd conversion example, in my .service unit I > have something like this: > > # nagios-nrpe-server@.service: > [Service] > Environment=NICENESS=0 > EnvironmentFile=-/etc/default/nagios-nrpe-server

Re: [systemd-devel] environment variable questions

2016-06-16 Thread Andrei Borzenkov
17.06.2016 06:01, Brian Kroth пишет: > > It's somewhat unclear from the man pages as to whether or not $VAR > expansion is done outside of the Exec* directives, and I couldn't find a > definitive answer online, but based on the above, I'm guessing it's not, > correct? > Yes. Environment

[systemd-devel] environment variable questions

2016-06-16 Thread Brian Kroth
Hi again, related to my inetd conversion example, in my .service unit I have something like this: # nagios-nrpe-server@.service: [Service] Environment=NICENESS=0 EnvironmentFile=-/etc/default/nagios-nrpe-server ExecStart=/usr/sbin/nrpe -i $DAEMON_OPTIONS Nice=$NICENESS #