summarylogtreecommitdiffstats
path: root/rwhoisd.service
diff options
context:
space:
mode:
authormrxx2018-11-04 03:08:02 +0100
committermrxx2018-11-04 03:08:02 +0100
commitc2374abf440e86694171a804eb942fdcb903d2ad (patch)
tree4a5cf926e79ed037b580df458f5905af3fe7cba3 /rwhoisd.service
parentabc827a1d8b38dc2331b55cbfe28e74c1534f4ad (diff)
downloadaur-rwhoisd.tar.gz
Add a systemd service and a default configuration
Diffstat (limited to 'rwhoisd.service')
-rw-r--r--rwhoisd.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/rwhoisd.service b/rwhoisd.service
new file mode 100644
index 00000000000..c67a962d72f
--- /dev/null
+++ b/rwhoisd.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=RWhois Daemon
+Documentation=man:rwhoisd(8)
+Documentation=https://github.com/arineng/rwhoisd/blob/master/rwhoisd/INSTALL
+After=syslog.target network.target
+
+[Service]
+PIDFile=/var/lib/rwhoisd/rwhoisd.pid
+ExecStart=/usr/bin/rwhoisd -c /etc/rwhoisd/rwhoisd.conf
+ExecReload=/bin/kill -HUP $MAINPID
+
+[Install]
+WantedBy=multi-user.target