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
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
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
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
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
#