Last active
November 3, 2022 14:44
-
-
Save mikran/00efe7a9e45e5f8aabc6d46453e108ef to your computer and use it in GitHub Desktop.
netclient procd init script
This file contains 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 | |
USE_PROCD=1 | |
start_service() { | |
procd_open_instance netclient | |
procd_set_param command /sbin/netclient daemon | |
procd_set_param respawn 3600 5 5 | |
procd_set_param stdout 1 | |
procd_set_param stderr 1 | |
procd_close_instance | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment