summarylogtreecommitdiffstats
path: root/frp-panel@.service
diff options
context:
space:
mode:
authordevome2024-01-20 21:31:06 +0800
committerdevome2024-01-20 21:31:06 +0800
commit20976f9789ce15682d70c410a78021a6b782492a (patch)
tree166448fa3cb9318a7574683c400b415ad0cfc960 /frp-panel@.service
downloadaur-20976f9789ce15682d70c410a78021a6b782492a.tar.gz
frp-panel: 0.0.10-1
Diffstat (limited to 'frp-panel@.service')
-rw-r--r--frp-panel@.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/frp-panel@.service b/frp-panel@.service
new file mode 100644
index 000000000000..32f9aa1f0a64
--- /dev/null
+++ b/frp-panel@.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=frp-panel
+Documentation=https://github.com/VaalaCat/frp-panel
+After=network.target
+
+[Service]
+Type=simple
+Restart=always
+RestartSec=5
+StartLimitInterval=0
+EnvironmentFile=-/etc/frp-panel/%i.env
+WorkingDirectory=/var/lib/frp-panel
+ExecStart=/usr/bin/frp-panel %i $START_PARAMS
+
+[Install]
+WantedBy=multi-user.target