blob: fc9b25292922352502ea07f0b0a654c0a84a1454 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
[Unit]
Description=Frp Client Service
After=network.target
Wants=network.target
[Service]
Type=exec
LoadCredential=config:/etc/frp/frpc.ini
LoadCredential=config_toml:/etc/frp/frpc.toml
DynamicUser=yes
Restart=on-failure
RestartSec=5s
ExecStart=/usr/bin/frpc -c ${CREDENTIALS_DIRECTORY}/config
ExecReload=/usr/bin/frpc reload -c ${CREDENTIALS_DIRECTORY}/config
[Install]
WantedBy=multi-user.target
|