mirror of
https://git.freebsd.org/ports.git
synced 2025-06-22 13:10:31 -04:00
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
10 lines
340 B
C
10 lines
340 B
C
--- 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();
|