autofs-5.0.6 - fix systemd argument passing From: Ian Kent 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 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index f0f204b..6c91f54 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -62,6 +62,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 ----------------------- diff --git a/samples/autofs.service.in b/samples/autofs.service.in index 277425b..056ab5e 100644 --- a/samples/autofs.service.in +++ b/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