#!/bin/bash
### BEGIN INIT INFO
# Provides: init_frpc.sh
# Required-start: $local_fs $remote_fs $network $syslog
# Required-Stop: $local_fs $remote_fs $network $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: starts the init_frpc.sh daemon
# Description: starts init_frpc.sh using start-stop-daemon
### END INIT INFO
cd /home/sqh/Cloud_Server/agent/frp_0.22.0_linux_amd64
nohup ./frpc -c ./frpc.ini &
init_frpc
猜你喜欢
转载自www.cnblogs.com/Eric-Shenblog/p/10913589.html
今日推荐
周排行