Last active
January 12, 2021 15:36
-
-
Save duanckham/6a493ae44f7e9e5b07e6f422753dfad3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh /etc/rc.common | |
# /etc/init.d/clash | |
USE_PROCD=1 | |
START=95 | |
start_service() | |
{ | |
procd_open_instance | |
procd_set_param respawn | |
procd_set_param stderr 1 | |
procd_set_param stdout 1 | |
procd_set_param command /root/clash/clash-linux-armv8 -d /root/clash/ | |
procd_close_instance | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment