diff --git a/supervisord.service-Debian11 b/supervisord.service-Debian11 new file mode 100644 index 0000000..04a7e90 --- /dev/null +++ b/supervisord.service-Debian11 @@ -0,0 +1,16 @@ +# supervisord service for systemd (Debian 11) +# by DarkFlib (https://github.com/darkflib) +[Unit] +Description=Supervisor daemon + +[Service] +Type=forking +ExecStart=/usr/local/bin/supervisord $OPTIONS -c /etc/supervisord.conf +ExecStop=/usr/local/bin/supervisorctl $OPTIONS shutdown +ExecReload=/usr/local/bin/supervisorctl $OPTIONS reload +KillMode=process +Restart=on-failure +RestartSec=30s + +[Install] +WantedBy=multi-user.target