git: vknetd - Add pidfile and signal handlers.

Antonio Huete Jimenez tuxillo at crater.dragonflybsd.org
Sun Dec 4 15:50:55 PST 2011


commit b57601f3982d39a71dd8a1efe7ed03298fdf6763
Author: Antonio Huete Jimenez <tuxillo at quantumachine.net>
Date:   Mon Dec 5 00:47:17 2011 +0100

    vknetd - Add pidfile and signal handlers.
    
    When started up, vknetd will create a pidfile in
    /var/run/vknetd.pid by default or where specified
    by option -i.
    
    Add signal handlers to cleanup pid file.

Summary of changes:
 usr.sbin/vknetd/vknetd.8 |    8 +++++++-
 usr.sbin/vknetd/vknetd.c |   38 ++++++++++++++++++++++++++++++++++++--
 usr.sbin/vknetd/vknetd.h |    2 ++
 3 files changed, 45 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b57601f3982d39a71dd8a1efe7ed03298fdf6763


-- 
DragonFly BSD source repository





More information about the Commits mailing list