summarylogtreecommitdiffstats
path: root/frpc@.service
blob: a546b854cd7d2b2c00d956834d8219014cb0aa65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=Frp Client Service
After=network-online.target
Wants=network-online.target

[Service]
Type=simple
User=nobody
Restart=on-failure
RestartSec=5s
ExecStart=/usr/bin/frpc -c /etc/frp/%i.toml
ExecReload=/usr/bin/frpc reload -c /etc/frp/%i.toml

[Install]
WantedBy=multi-user.target