summarylogtreecommitdiffstats
path: root/naiveproxy@.service
diff options
context:
space:
mode:
Diffstat (limited to 'naiveproxy@.service')
-rw-r--r--naiveproxy@.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/naiveproxy@.service b/naiveproxy@.service
new file mode 100644
index 000000000000..963b0cd42582
--- /dev/null
+++ b/naiveproxy@.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=NaiveProxy Server Service
+After=network-online.target
+
+[Service]
+Type=simple
+User=nobody
+Restart=on-failure
+RestartSec=5s
+ExecStart=/usr/bin/naiveproxy /etc/naiveproxy/%i.json
+
+[Install]
+WantedBy=default.target
+