From: Don Armstrong Date: Thu, 3 Dec 2015 19:01:37 +0000 (-0800) Subject: Add systemd unit file (Closes: #795621) X-Git-Tag: debian/0.52-2~14 X-Git-Url: https://git.donarmstrong.com/?p=unscd.git;a=commitdiff_plain;h=dbe1e927564c778b20a2a6f0377fc5deb6ed3aef Add systemd unit file (Closes: #795621) --- diff --git a/debian/changelog b/debian/changelog index 312c58b..4085cd6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,8 +4,9 @@ unscd (0.52-1) unstable; urgency=medium [ Thanks to Chris Kuehl ] * Add manpage for unscd and nscd (Closes: #789871) + * Add systemd unit file (Closes: #795621) - -- + -- Don Armstrong Thu, 03 Dec 2015 10:40:56 -0800 unscd (0.51-1) unstable; urgency=low diff --git a/debian/rules b/debian/rules index e0ec023..d45f9e4 100755 --- a/debian/rules +++ b/debian/rules @@ -1,7 +1,7 @@ #!/usr/bin/make -f %: - dh $@ + dh $@ --with systemd override_dh_auto_clean: rm -f nscd diff --git a/debian/unscd.service b/debian/unscd.service new file mode 100644 index 0000000..e174af0 --- /dev/null +++ b/debian/unscd.service @@ -0,0 +1,10 @@ +[Unit] +Description=Name Service Cache Daemon + +[Service] +User=root +ExecStart=/usr/sbin/nscd -d +Restart=always + +[Install] +WantedBy=multi-user.target \ No newline at end of file