summaryrefslogtreecommitdiff
path: root/sentinel-proxy/files/init
blob: 5737dce8354db83e7a22ccde073cdf62d156b2ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh /etc/rc.common

USE_PROCD=1
START=95
STOP=10

start_service() {
    procd_open_instance
    procd_set_param command /bin/sh -c 'sentinel-certgen certs && exec sentinel-proxy'
    procd_set_param respawn 600 5 5
    procd_close_instance
}