#!/sbin/openrc-run depend() { use dns net } start() { ebegin "Starting HTTPS Proxy" start-stop-daemon --start --quiet -b -u proxhttpsproxy -g proxhttpsproxy -d /opt/proxhttpsproxy/ --exec /usr/bin/proxhttpsproxy #2>/dev/null eend $? } stop() { ebegin "Stopping HTTPS Proxy" kill `pidof python3` sleep 1 eend $? }