[RFC PATCH 02/12] init-d-script: allow scripts to specify --startas inside START_ARGS
Trek
trek00 at inbox.ru
Thu Jul 2 18:18:19 BST 2020
---
debian/init-d-script | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/init-d-script b/debian/init-d-script
index a977d7e2..13da61eb 100755
--- a/debian/init-d-script
+++ b/debian/init-d-script
@@ -46,7 +46,7 @@ call() {
do_start_cmd() {
start-stop-daemon --start --quiet --oknodo \
${PIDFILE:+--pidfile ${PIDFILE}} $START_ARGS \
- --startas $DAEMON --name ${COMMAND_NAME} --exec $DAEMON -- $DAEMON_ARGS
+ --name ${COMMAND_NAME} --exec $DAEMON -- $DAEMON_ARGS
}
do_start()
--
2.20.1
More information about the Debian-init-diversity
mailing list