frps-onekey
frps-onekey copied to clipboard
这个怎么设置开机自启啊
https://github.com/fatedier/frp/issues/176 按照源址说的只需要把frps.service复制一份到/etc/systemd/system目录下即可。 可是一键脚本安装下来的frps.service这个文件在哪里啊,没找到啊
debian10使用systemd配置开机自启
vi /etc/systemd/system/frps.service 新建此文件,并写入以下内容
[Unit] Description=frps daemon
[Service] Type=simple ExecStart=/usr/local/frps/frps -c /usr/local/frps/frps.ini
[Install] WantedBy=multi-user.target
启动并设为开机自启。 $ systemctl start frps $ systemctl enable frps