Custom Query (126 matches)
Results (1 - 3 of 126)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#1 | fixed | Move generic stuff to global file | Alloc | Alloc |
Description |
Move stuff like "is running" to a generic place (perhaps separate files?).
Could be: * /usr/local/bin/7dtd-isrunning.sh: Return if given instance is running ...? |
|||
#2 | fixed | Enhance start-stop-daemon | Alloc | Alloc |
Description |
Get http://www.hpcf.upr.edu/web/sites/default/files/start-stop-daemon.c
* Verify existing functionality * Enhance with the required extras: * --status: get status of specified daemon * --chdir <dir>: change working directory * --no-close: Do not close stdout/errout on --background -> allow to redirect output (see #3) * Rename and ship with scripts |
|||
#3 | fixed | Remove screen dependency | Alloc | Alloc |
Description |
Instead of using screen to allow access to the console output write stdout/errout to log file:
ssd ... --exec /bin/bash -- -c "$DAEMON $DAEMON_ARGS > $LOGFILE 2>&1" Disadvantage: wine won't be stopped on ''ssd stop'' as it would only kill bash! Better: ssd ... --startas /bin/bash -- -c "exec $DAEMON $DAEMON_ARGS > $LOGFILE 2>&1" Or, with --no-close: ssd ... --no-close --exec $DAEMONWINE -- $BINARYPATH/$BINARYNAME $OPTS > $LOGFILE 2>$1 Also see: [http://stackoverflow.com/questions/8251933/how-can-i-log-the-stdout-of-a-process-started-by-start-stop-daemon Stack Overflow - How can I log the stdout of a process started by start-stop-daemon?] |
Note: See TracQuery
for help on using queries.