Skip to content

Instantly share code, notes, and snippets.

@dberardo-com
dberardo-com / supervisor
Last active February 14, 2025 11:51 — forked from puhitaku/supervisor
Supervisor init script for OpenWrt (procd).
#!/bin/sh /etc/rc.common
START=99
STOP=10
SERVICE_DAEMONIZE=1
SERVICE_WRITE_PID=1
PIDFILE=/var/run/supervisord.pid
LOCKFILE=/var/run/supervisord_up.lock
LOCKFILE_DOWN=/var/run/supervisord_down.lock
SUPERVISORCTL_BIN=$(which supervisorctl)