Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cefae65392 | ||
|
|
69fbd12993 | ||
|
|
4aa5686d90 |
31
ChangeLog
31
ChangeLog
@@ -1,3 +1,23 @@
|
|||||||
|
commit 69fbd129938522cdd9b82fea2b83c857796a32af
|
||||||
|
Author: Alexander Zubkov <green@msu.ru>
|
||||||
|
Commit: William Hubbs <w.d.hubbs@gmail.com>
|
||||||
|
|
||||||
|
supervise-daemon: redirect std{in,out,err} to /dev/null after demonizing
|
||||||
|
|
||||||
|
This fixes #239.
|
||||||
|
|
||||||
|
commit 4aa5686d9037132b27d7554436738fa98e8e9057
|
||||||
|
Author: William Hubbs <w.d.hubbs@gmail.com>
|
||||||
|
Commit: William Hubbs <w.d.hubbs@gmail.com>
|
||||||
|
|
||||||
|
version 0.40.1
|
||||||
|
|
||||||
|
commit ab6c8d56f155564f56d61553c4b1af9e7f63a9d2
|
||||||
|
Author: William Hubbs <w.d.hubbs@gmail.com>
|
||||||
|
Commit: William Hubbs <w.d.hubbs@gmail.com>
|
||||||
|
|
||||||
|
Update ChangeLog
|
||||||
|
|
||||||
commit fb4dd351c7ef2614076309d630e163ff963ac8bf
|
commit fb4dd351c7ef2614076309d630e163ff963ac8bf
|
||||||
Author: Austin English <austinenglish@gmail.com>
|
Author: Austin English <austinenglish@gmail.com>
|
||||||
Commit: William Hubbs <w.d.hubbs@gmail.com>
|
Commit: William Hubbs <w.d.hubbs@gmail.com>
|
||||||
@@ -1397,14 +1417,3 @@ Commit: William Hubbs <w.d.hubbs@gmail.com>
|
|||||||
add bash completion support
|
add bash completion support
|
||||||
|
|
||||||
This fixes #188.
|
This fixes #188.
|
||||||
|
|
||||||
commit a2447dfb420cbd97a65cc085404c031d42cb3dfb
|
|
||||||
Author: William Hubbs <w.d.hubbs@gmail.com>
|
|
||||||
Commit: William Hubbs <w.d.hubbs@gmail.com>
|
|
||||||
|
|
||||||
rc-service: add --ifcrashed option
|
|
||||||
|
|
||||||
This works like the other --if options. If the service is crashed, run
|
|
||||||
the command.
|
|
||||||
|
|
||||||
This fixes #154.
|
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
NAME= openrc
|
NAME= openrc
|
||||||
VERSION= 0.40
|
VERSION= 0.40.1
|
||||||
PKG= ${NAME}-${VERSION}
|
PKG= ${NAME}-${VERSION}
|
||||||
|
|||||||
@@ -982,6 +982,9 @@ int main(int argc, char **argv)
|
|||||||
tty_fd = open("/dev/tty", O_RDWR);
|
tty_fd = open("/dev/tty", O_RDWR);
|
||||||
#endif
|
#endif
|
||||||
devnull_fd = open("/dev/null", O_RDWR);
|
devnull_fd = open("/dev/null", O_RDWR);
|
||||||
|
dup2(devnull_fd, STDIN_FILENO);
|
||||||
|
dup2(devnull_fd, STDOUT_FILENO);
|
||||||
|
dup2(devnull_fd, STDERR_FILENO);
|
||||||
child_pid = fork();
|
child_pid = fork();
|
||||||
if (child_pid == -1)
|
if (child_pid == -1)
|
||||||
eerrorx("%s: fork: %s", applet, strerror(errno));
|
eerrorx("%s: fork: %s", applet, strerror(errno));
|
||||||
|
|||||||
Reference in New Issue
Block a user