diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2014-06-09 16:38:58 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2014-06-09 21:51:26 +0200 |
commit | b20b84bfdd9e89b0b3173840179be47d5989f886 (patch) | |
tree | 29861450102616adc6a4b0ba8b3a02a19627adce /scripts/wrapper | |
parent | 0172c2c801f511b2e0b42d68f2eb3988a4c6af94 (diff) | |
download | ptxdist-b20b84bfdd9e89b0b3173840179be47d5989f886.tar.gz ptxdist-b20b84bfdd9e89b0b3173840179be47d5989f886.tar.xz |
pureftpd: fix startup with systemd and no upload script
With no upload script "ConditionPathExists=@SCRIPT@" expands to
"ConditionPathExists=". This clears the previous condition and systemd
tries to start /usr/sbin/pure-uploadscript which does not exist.
This removes the runtime logic and only adds the dependency on
pure-uploadscript.service if the upload script is enabled.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts/wrapper')
0 files changed, 0 insertions, 0 deletions