You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

23 lines
475 B

#!/bin/sh /etc/rc.common
START=99
USE_PROCD=1
NAME=snowflake-proxy
PROG=/usr/bin/$NAME
start_service() {
procd_open_instance
procd_set_param command "$PROG" -verbose
procd_set_param stdout 1
procd_set_param stderr 1
procd_set_param user snowflake
procd_set_param group snowflake
procd_set_param respawn
[ -x /sbin/ujail ] && {
procd_add_jail snowflake-proxy ronly
procd_add_jail_mount /etc/ssl/certs
procd_set_param no_new_privs 1
}
procd_close_instance
}