]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
ulogd: Add systemd unit file.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sat, 2 Apr 2011 08:19:26 +0000 (10:19 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sat, 2 Apr 2011 08:19:26 +0000 (10:19 +0200)
References #153.

pkgs/ulogd2/systemd/ulogd.service [new file with mode: 0644]
pkgs/ulogd2/ulogd.init [deleted file]
pkgs/ulogd2/ulogd2.nm

diff --git a/pkgs/ulogd2/systemd/ulogd.service b/pkgs/ulogd2/systemd/ulogd.service
new file mode 100644 (file)
index 0000000..acd9e46
--- /dev/null
@@ -0,0 +1,9 @@
+[Unit]
+Description=Userspace Logging Daemon
+After=firewall.service
+
+[Service]
+ExecStart=/usr/sbin/ulogd -c /etc/ulogd.conf
+
+[Install]
+WantedBy=multi-user.target
diff --git a/pkgs/ulogd2/ulogd.init b/pkgs/ulogd2/ulogd.init
deleted file mode 100644 (file)
index 186daa8..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-description            "A userspace logging daemon"
-author                 "IPFire Team"
-
-start on started firewall
-stop on kill-all-services or stopping firewall
-
-exec /usr/sbin/ulogd -c /etc/ulogd.conf
-respawn
index 89d381a6d461ca597add143feaa853d8c463f30f..9531f34e111831c2a79aecfa74e7e40188c6ec20 100644 (file)
@@ -26,7 +26,7 @@ include $(PKGROOT)/Include
 
 PKG_NAME       = ulogd
 PKG_VER        = 2.0.0beta3
-PKG_REL        = 1
+PKG_REL        = 2
 
 PKG_MAINTAINER =
 PKG_GROUPS     = Networking/Statistics