autofs-5.0.6 - fix systemd argument passing
From: Ian Kent <ikent@redhat.com>
The substition of the environment variable OPTIONS, from the autofs
confuguration may contain multiple elements that need to be passed
as such when systemd run the unit file. That requires that the braces
be omitted the ExecStart entry of the unit file.
---
CHANGELOG | 1 +
samples/autofs.service.in | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
--- autofs-5.0.6.orig/CHANGELOG
+++ autofs-5.0.6/CHANGELOG
@@ -42,6 +42,7 @@
- fix configure string length tests for sss library.
- fix initialization in rpc create_client().
- fix libtirpc name clash.
+- fix systemd argument passing.
28/06/2011 autofs-5.0.6
-----------------------
--- autofs-5.0.6.orig/samples/autofs.service.in
+++ autofs-5.0.6/samples/autofs.service.in
@@ -6,7 +6,7 @@ After=network.target ypbind.service
Type=forking
PIDFile=@@autofspiddir@@/autofs.pid
EnvironmentFile=-@@autofsconfdir@@/autofs
-ExecStart=@@sbindir@@/automount ${OPTIONS} --pid-file @@autofspiddir@@/autofs.pid
+ExecStart=@@sbindir@@/automount $OPTIONS --pid-file @@autofspiddir@@/autofs.pid
ExecReload=/usr/bin/kill -HUP $MAINPID
[Install]