-
Notifications
You must be signed in to change notification settings - Fork 127
Open
Labels
enhancementNew feature or requestNew feature or request
Description
#!/bin/sh /etc/rc.common
USE_PROCD=1
START=95
STOP=01
start_service() {
procd_open_instance
procd_set_param command fakehttp -d -i eth1 -h cloud.189.cn
procd_close_instance
}
stop_service() {
fakehttp -k
}
restart_service() {
stop
start
}usage:
- mv
fakehttpto/usr/bin - create a file named
fakehttpon/etc/init.d, andchmod +x fakehttp - active the script
/etc/init.d/fakehttp enable - start the service
/etc/init.d/fakehttp start
ps:
you can check the service start success on top
MikeWang000000 and TGJek
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request