diff options
Diffstat (limited to 'frp-panel@.service')
-rw-r--r-- | frp-panel@.service | 16 |
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 |