Linux systemd service创建
1 min readDebian systemd 服务创建
`
vim /etc/systemd/system/frps.service
`
[Unit]
# 服务名称,可自定义Description = frp server
After = network.target syslog.target
Wants = network.target
[Service]
Type = simple
# 启动frps的命令,需修改为您的frps的安装路径ExecStart = /work/frp/frps -c /work/frp/frps.ini
[Install]
WantedBy = multi-user.target
#systemctl enable frps
#systemctl start frps