Escape sequence.

This commit is contained in:
Thomas Goirand
2014-10-03 05:11:28 +00:00
parent 2dbd7e849a
commit ceb061f3a2

View File

@@ -46,10 +46,10 @@ script
[ \"x\$USE_SYSLOG\" = \"xyes\" ] && DAEMON_ARGS=\"\$DAEMON_ARGS --use-syslog\"
[ \"x\$USE_LOGFILE\" != \"xno\" ] && DAEMON_ARGS=\"\$DAEMON_ARGS --log-file=${LOGFILE}\"
exec start-stop-daemon --start --chdir /var/lib/${PROJECT_NAME} \
--chuid ${SYSTEM_USER}:${SYSTEM_GROUP} \
--make-pidfile --pidfile ${PIDFILE}
--exec ${DAEMON} -- \
exec start-stop-daemon --start --chdir /var/lib/${PROJECT_NAME} \\
--chuid ${SYSTEM_USER}:${SYSTEM_GROUP} \\
--make-pidfile --pidfile ${PIDFILE} \\
--exec ${DAEMON} -- \\
--config-file=/etc/${PROJECT_NAME}/${PROJECT_NAME}.conf \${DAEMON_ARGS}
end script
" >${UPSTART_FILE}