Всем привет. Подскажите кто знает
Пытаюсь настроить автозапуск от имени пользователя не от root. Использую Docker на основе официального Ubuntu 14.04
для автозапуск использую supervisor c таким концигом
[supervisord]
nodaemon=true
[program:acestream]
command=acestreamengine --client-console --live-buffer 30 --cache-limit 20
directory = /home/ttv/
priority=1
[program:acehttp]
command=/home/ttv/aceproxy/acehttp.py
user = ttv
directory = /home/ttv/
autorestart = true
priority=2
[program:vlc]
command=vlc -I telnet --clock-jitter 0 --sout-mux-caching 500 --network-caching 500 --telnet-password admin --telnet-host 127.0.0.1
environment=VLC_PLUGIN_PATH='/usr/lib/vlc/plugins/'
directory = /home/ttv/
user = ttv
priority=1
при запуске получаю это:
./start.sh
/usr/lib/python2.7/dist-packages/supervisor/options.py:295: UserWarning: Supervisord is running as root and it is searching for its configuration file in default locations (including its current working directory); you probably want to specify a "-c" argument specifying an absolute path to a configuration file for improved security.
'Supervisord is running as root and it is searching '
2016-03-23 05:05:34,559 CRIT Supervisor running as root (no user in config file)
2016-03-23 05:05:34,559 WARN Included extra file "/etc/supervisor/conf.d/supervisord.conf" during parsing
2016-03-23 05:05:34,608 INFO RPC interface 'supervisor' initialized
2016-03-23 05:05:34,608 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2016-03-23 05:05:34,608 INFO supervisord started with pid 140
2016-03-23 05:05:35,612 INFO spawned: 'vlc' with pid 153
2016-03-23 05:05:35,615 INFO spawned: 'acestream' with pid 154
2016-03-23 05:05:35,618 INFO spawned: 'acehttp' with pid 155
2016-03-23 05:05:35,726 INFO exited: acehttp (exit status 1; not expected)
2016-03-23 05:05:37,468 INFO success: vlc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2016-03-23 05:05:37,468 INFO success: acestream entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2016-03-23 05:05:37,470 INFO spawned: 'acehttp' with pid 288
2016-03-23 05:05:37,553 INFO exited: acehttp (exit status 1; not expected)
2016-03-23 05:05:39,558 INFO spawned: 'acehttp' with pid 301
2016-03-23 05:05:39,642 INFO exited: acehttp (exit status 1; not expected)
2016-03-23 05:05:42,647 INFO spawned: 'acehttp' with pid 302
2016-03-23 05:05:42,736 INFO exited: acehttp (exit status 1; not expected)
2016-03-23 05:05:43,738 INFO gave up: acehttp entered FATAL state, too many start retries too quickly
Как заставить acehttp да и acestream запускаться не от root
P.S. все вроде разобрался