37 lines
1.2 KiB
Diff
37 lines
1.2 KiB
Diff
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
|
|
@@ -58,6 +58,7 @@
|
|
- fix remount of multi mount.
|
|
- fix devce ioctl alloc path check.
|
|
- add hup signal handling to hosts map.
|
|
+- 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
|
|
TimeoutSec=180
|
|
|