ルートなしでハイパーバイザーを再起動する

ルートなしでハイパーバイザーを再起動する

Debian Linuxには2段階の管理システムがあります。

存在する/etc/supervisor/conf.d/opus-release.conf

[program:opus]
user=opus
command=bash -c 'cd /home/opus/projects/XXX && supervisord -n -c ../conf/supervisord.conf'

そして

[supervisord]
identifier=opus

[program:uwsgi]
command=uwsgi --ini=../conf/uwsgi.ini

存在する/home/opus/projects/conf/supervisord.conf

supervisorctl restart opus私はプロジェクトを再開しました。

しかし、supervisorctl restart opusルートでのみ動作します。

rootとしてログインせずにopusプロジェクトを再起動する良い方法は何ですか?

ベストアンサー1

おすすめ記事