Skip to content

Instantly share code, notes, and snippets.

@mikran
Last active November 3, 2022 14:44
Show Gist options
  • Save mikran/00efe7a9e45e5f8aabc6d46453e108ef to your computer and use it in GitHub Desktop.
Save mikran/00efe7a9e45e5f8aabc6d46453e108ef to your computer and use it in GitHub Desktop.
netclient procd init script
#!/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