18 lines
375 B
Desktop File
18 lines
375 B
Desktop File
[Unit]
|
|
Description=Frp Server Service
|
|
#README.md
|
|
Documentation=https://github.com/fatedier/frp/blob/master/README.md
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=nobody #root can use 1~1024 ports
|
|
Restart=on-failure
|
|
ExecStart=/usr/bin/frps -c /etc/frp/server/%i.ini
|
|
StandardOutput=syslog
|
|
|
|
[Install]
|
|
Alias=frpd@.service
|
|
Alias=frp-server@.service
|
|
WantedBy=multi-user.target
|