aboutsummaryrefslogtreecommitdiff
path: root/deploy/ip-echo-daemon.service
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/ip-echo-daemon.service')
-rw-r--r--deploy/ip-echo-daemon.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/deploy/ip-echo-daemon.service b/deploy/ip-echo-daemon.service
new file mode 100644
index 0000000..b275067
--- /dev/null
+++ b/deploy/ip-echo-daemon.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=IP address echo service for ip.mfamily.org
+After=network.target
+
+[Service]
+Type=simple
+ExecStart=/usr/local/bin/ip-echo-daemon
+DynamicUser=yes
+Restart=on-failure
+PrivateTmp=yes
+ProtectSystem=strict
+ProtectHome=yes
+NoNewPrivileges=yes
+
+[Install]
+WantedBy=multi-user.target