From 90c819ddbed0c272b3e273b3237ca47927859d44 Mon Sep 17 00:00:00 2001 From: Tobias Kortkamp Date: Thu, 8 Mar 2018 05:16:46 +0000 Subject: New port: sysutils/runit-faster Runit is a daemontools replacement with the following features: - Service supervision - Clean process state - Reliable logging facility - Fast system bootup and shutdown - Packaging friendly - Small code size This very experimental port comes with a complete suite of configuration files and services to replace init(8) and rc(8) with runit for initializing your system. Heavily inspired by Void Linux' init scripts. For usage instructions visit: https://people.freebsd.org/~tobik/runit-faster.html Some fixes applied to sysutils/runit: - Fix most compiler warnings - Fix bug where runit will only halt the system instead of powering it off - Pet rclint for runsvdir - Pet portlint and regenerate patches --- sysutils/runit-faster/files/patch-src_svlogd.c | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 sysutils/runit-faster/files/patch-src_svlogd.c (limited to 'sysutils/runit-faster/files/patch-src_svlogd.c') diff --git a/sysutils/runit-faster/files/patch-src_svlogd.c b/sysutils/runit-faster/files/patch-src_svlogd.c new file mode 100644 index 000000000000..66e3b2f46987 --- /dev/null +++ b/sysutils/runit-faster/files/patch-src_svlogd.c @@ -0,0 +1,10 @@ +--- src/svlogd.c.orig 2014-08-10 18:22:34 UTC ++++ src/svlogd.c +@@ -430,6 +430,7 @@ unsigned int logdir_open(struct logdir *ld, const char + ld->name =(char*)fn; + ld->ppid =0; + ld->match ='+'; ++ ld->udpaddr.sin_family =AF_INET; + ld->udpaddr.sin_port =0; + ld->udponly =0; + while (! stralloc_copys(&ld->prefix, "")) pause_nomem(); -- cgit v1.2.3