aboutsummaryrefslogtreecommitdiff
path: root/_sys/usr/lib/systemd/system
diff options
context:
space:
mode:
Diffstat (limited to '_sys/usr/lib/systemd/system')
-rw-r--r--_sys/usr/lib/systemd/system/rescached.service17
1 files changed, 17 insertions, 0 deletions
diff --git a/_sys/usr/lib/systemd/system/rescached.service b/_sys/usr/lib/systemd/system/rescached.service
new file mode 100644
index 0000000..8f86608
--- /dev/null
+++ b/_sys/usr/lib/systemd/system/rescached.service
@@ -0,0 +1,17 @@
+## SPDX-FileCopyrightText: 2020 M. Shulhan <ms@kilabit.info>
+## SPDX-License-Identifier: GPL-3.0-or-later
+
+[Unit]
+Description=Resolver Cache Daemon
+Wants=network-online.target nss-lookup.target
+After=network.target network-online.target
+Before=nss-lookup.target
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/rescached -config /etc/rescached/rescached.cfg
+Restart=on-failure
+StandardError=journal
+
+[Install]
+WantedBy=multi-user.target