We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 577a627 commit 1666a15Copy full SHA for 1666a15
1 file changed
init/elivepatch.init
@@ -10,7 +10,12 @@ PIDFILE=/var/run/${DAEMON_NAME}.pid
10
11
start () {
12
ebegin "Starting system ${DAEMON_NAME} daemon"
13
- start-stop-daemon --start --background --pidfile ${PIDFILE} --user ${DAEMON_USER}:${DAEMON_GROUP} --make-pidfile --exec ${DAEMON} runserver
+ start-stop-daemon --start --background --pidfile ${PIDFILE} \
14
+ --user ${DAEMON_USER}:${DAEMON_GROUP} \
15
+ --make-pidfile \
16
+ --stdout /var/log/elivepatch-server.log \
17
+ --stderr /var/log/elivepatch-server.err \
18
+ --exec ${DAEMON} runserver
19
eend $? "Failed to start ${DAEMON_NAME}"
20
}
21
0 commit comments