Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

aknEvrnky's avatar

Can Supervisord be used by non-root users?

Hi, I am owner of a centos 7 plesk server and I want to manage all deployment process over one user. When my deployment is done, I need to restart supervisor process. But my user can not access supervisor.

0 likes
3 replies
cwhite's avatar

You need to define a user property in your config.

Here's what I have:

[supervisord]
nodaemon=true
user=<user>
logfile=/var/www/storage/logs/supervisord.log
pidfile=/tmp/supervisord.pid

[unix_http_server]
file=/tmp/supervisor.sock

[program:laravel-horizon]
process_name=%(program_name)s
command=php /var/www/artisan horizon
user=<user>
autostart=true
autorestart=true
redirect_stderr=true
stdout_logfile=/var/www/storage/logs/horizon.log
stopwaitsecs=3600

[program:laravel-scheduler]
process_name=%(program_name)s
command=php /var/www/artisan schedule:work
user=<user>
autostart=true
autorestart=true
redirect_stderr=true
stdout_logfile=/var/www/storage/logs/schedule.log
stopwaitsecs=3600

Please or to participate in this conversation.