]> git.pld-linux.org Git - packages/ulogd.git/commitdiff
- rel 4; implement reload used by logrotate auto/th/ulogd-2.0.7-4
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 25 May 2020 19:09:43 +0000 (21:09 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 25 May 2020 19:09:43 +0000 (21:09 +0200)
ulogd.init
ulogd.spec

index 5ac69510d98f11b6b5f3d6433435214905a9d57c..e2a4d46b0e25c9ff559cbafa639aa58afdb5cb31 100644 (file)
@@ -51,6 +51,16 @@ case "$1" in
        status ulogd
        exit $?
        ;;
+  reload)
+        if [ ! -f /var/lock/subsys/ulogd ]; then
+         msg_not_running "ulogd"
+         exit 7
+       fi
+
+       msg_reloading "ulogd"
+       killproc ulogd -HUP
+       exit $?
+       ;;
   restart|force-reload)
        $0 stop
        $0 start
index 0f69a756b366d128ac6c2161e48791af268425e0..3b6984f7574573e5447bfe08cdec8c870beda11c 100644 (file)
@@ -2,7 +2,7 @@ Summary:        ULOGD - the Userspace Logging Daemon for iptables
 Summary(pl.UTF-8):     Demon logujący w trybie użytkownika dla iptables
 Name:          ulogd
 Version:       2.0.7
-Release:       3
+Release:       4
 License:       GPL v2+
 Group:         Networking/Daemons
 Source0:       https://netfilter.org/projects/ulogd/files/%{name}-%{version}.tar.bz2
This page took 0.918221 seconds and 4 git commands to generate.