1
0
Fork 0
mirror of https://github.com/pygos/init.git synced 2024-05-18 11:46:14 +02:00
Commit graph

2 commits

Author SHA1 Message Date
David Oberhollenzer 0975ed0fb7 runsvc: make sure we close all fds before running a service
Just in case initd leaks anything. Also, the service has no
buisness writing all over /dev/console. It's a system service, it
better use syslog or its own internal logging service.

Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2020-04-06 15:55:47 +02:00
David Oberhollenzer 9b43890591 cleanup: simplify runsvc environment config parsing
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2020-04-06 15:44:15 +02:00
Renamed from cmd/runsvc/runsvc.c (Browse further)