Have s6-setuidgid look up names from /etc/hosts
This commit is contained in:
parent
e055eb3542
commit
0a30deb7e2
@ -43,6 +43,8 @@ lxc-build ${SOURCE_DIR}/postgres
|
||||
lxc-build ${SOURCE_DIR}/rabbitmq
|
||||
lxc-build ${SOURCE_DIR}/redis
|
||||
lxc-build ${SOURCE_DIR}/sahana
|
||||
lxc-build ${SOURCE_DIR}/sahana-demo
|
||||
lxc-build ${SOURCE_DIR}/sambro
|
||||
lxc-build ${SOURCE_DIR}/seeddms
|
||||
lxc-build ${SOURCE_DIR}/sigmah
|
||||
lxc-build ${SOURCE_DIR}/solr
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/execlineb -P
|
||||
|
||||
foreground { /bin/add-ca-cert }
|
||||
s6-setuidgid 8004:8004
|
||||
s6-setuidgid ckandp
|
||||
/usr/sbin/uwsgi --plugin python --http-socket 0.0.0.0:8080 --wsgi-file /etc/ckan-datapusher/datapusher.wsgi --enable-threads
|
||||
|
@ -3,5 +3,5 @@
|
||||
cd /srv/cts
|
||||
export DJANGO_SETTINGS_MODULE cts.settings.spotter
|
||||
fdmove -c 2 1
|
||||
s6-setuidgid 8006:8006
|
||||
s6-setuidgid cts
|
||||
/srv/cts/manage.py runserver
|
||||
|
@ -4,5 +4,5 @@ foreground { s6-svwait -t 3000 -u /etc/services.d/xorg }
|
||||
cd /srv/frontlinesms
|
||||
export DISPLAY :10
|
||||
fdmove -c 2 1
|
||||
s6-setuidgid 8018:8018
|
||||
s6-setuidgid sms
|
||||
/srv/frontlinesms/frontlinesms2/FrontlineSMS2_Launcher
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/execlineb -P
|
||||
|
||||
fdmove -c 2 1
|
||||
s6-setuidgid 8018:8018
|
||||
s6-setuidgid sms
|
||||
Xorg -noreset +extension GLX +extension RANDR +extension RENDER -config dummy.conf :10
|
||||
|
@ -2,5 +2,5 @@
|
||||
|
||||
cd /srv/build2xlsform
|
||||
fdmove -c 2 1
|
||||
s6-setuidgid 8017:8017
|
||||
s6-setuidgid odkbuild
|
||||
node lib/server.js
|
||||
|
@ -3,5 +3,5 @@
|
||||
cd /srv/opendatakit-build
|
||||
fdmove -c 2 1
|
||||
foreground { /usr/sbin/update-ca-certificates }
|
||||
s6-setuidgid 8017:8017
|
||||
s6-setuidgid odkbuild
|
||||
bundle exec rackup config.ru -o 0.0.0.0 -p 8080
|
||||
|
@ -2,5 +2,5 @@
|
||||
|
||||
fdmove -c 2 1
|
||||
export NODE_ENV production
|
||||
s6-setuidgid 8007:8007
|
||||
s6-setuidgid omk
|
||||
/usr/bin/node /srv/openmapkit/server.js
|
||||
|
@ -3,5 +3,5 @@
|
||||
cd /srv/pandora/pandora
|
||||
export HOME /srv/pandora
|
||||
fdmove -c 2 1
|
||||
s6-setuidgid 8002:8002
|
||||
s6-setuidgid pandora
|
||||
./manage.py celerybeat -s /srv/pandora/data/celerybeat-schedule --pidfile pandora-cron.pid -l INFO
|
||||
|
@ -3,5 +3,5 @@
|
||||
cd /srv/pandora/pandora
|
||||
export HOME /srv/pandora
|
||||
fdmove -c 2 1
|
||||
s6-setuidgid 8002:8002
|
||||
s6-setuidgid pandora
|
||||
./manage.py celery worker -Q encoding -n pandora-encoding --pidfile pandora-encoding.pid --maxtasksperchild 500 -l INFO
|
||||
|
@ -3,5 +3,5 @@
|
||||
cd /srv/pandora/pandora
|
||||
export HOME /srv/pandora
|
||||
fdmove -c 2 1
|
||||
s6-setuidgid 8002:8002
|
||||
s6-setuidgid pandora
|
||||
./manage.py celery worker -Q default,celery -n pandora-default --pidfile pandora-tasks.pid --maxtasksperchild 1000 -l INFO
|
||||
|
@ -3,5 +3,5 @@
|
||||
cd /srv/pandora/pandora
|
||||
export HOME /srv/pandora
|
||||
fdmove -c 2 1
|
||||
s6-setuidgid 8002:8002
|
||||
s6-setuidgid pandora
|
||||
gunicorn -c gunicorn_config.py wsgi:application
|
||||
|
Loading…
Reference in New Issue
Block a user