Startup and location fixes

This commit is contained in:
Disassembler 2018-09-20 20:46:25 +02:00
parent 96249760fd
commit 00eff6fa85
Signed by: Disassembler
GPG Key ID: 524BD33A0EE29499
15 changed files with 21 additions and 21 deletions

0
ckan-datapusher/lxc/bin/add-ca-cert Normal file → Executable file
View File

View File

@ -1,5 +1,5 @@
#!/bin/execlineb -P
foreground { /bin/add-ca-cert }
foreground { add-ca-cert }
s6-setuidgid ckandp
/usr/sbin/uwsgi --plugin python --http-socket 0.0.0.0:8080 --wsgi-file /etc/ckan-datapusher/datapusher.wsgi --enable-threads
uwsgi --plugin python --http-socket 0.0.0.0:8080 --wsgi-file /etc/ckan-datapusher/datapusher.wsgi --enable-threads

View File

@ -1,3 +1,3 @@
#!/bin/execlineb -P
/usr/sbin/nginx -g "daemon off;"
nginx -g "daemon off;"

View File

@ -1,3 +1,3 @@
#!/bin/execlineb -P
/usr/sbin/nginx -g "daemon off;"
nginx -g "daemon off;"

View File

@ -1,3 +1,3 @@
#!/bin/execlineb -P
/usr/sbin/php-fpm7 -F
php-fpm7 -F

View File

@ -3,4 +3,4 @@
fdmove -c 2 1
export NODE_ENV production
s6-setuidgid omk
/usr/bin/node /srv/openmapkit/server.js
node /srv/openmapkit/server.js

View File

@ -1,3 +1,3 @@
#!/bin/execlineb -P
/usr/sbin/nginx -g "daemon off;"
nginx -g "daemon off;"

View File

@ -4,9 +4,9 @@ LAYER shared/libxml
LAYER shared/python2
LAYER sahana/sahana
MOUNT DIR /srv/sahana/conf srv/web2py/applications/eden/models
MOUNT DIR /srv/sahana/data/default srv/web2py/applications/eden/modules/templates/default
MOUNT DIR /srv/sahana/data/databases srv/web2py/applications/eden/databases
MOUNT DIR /srv/sahana/data/uploads srv/web2py/applications/eden/uploads
MOUNT DIR /srv/sahana-demo/conf srv/web2py/applications/eden/models
MOUNT DIR /srv/sahana-demo/data/default srv/web2py/applications/eden/modules/templates/default
MOUNT DIR /srv/sahana-demo/data/databases srv/web2py/applications/eden/databases
MOUNT DIR /srv/sahana-demo/data/uploads srv/web2py/applications/eden/uploads
CMD s6-svscan /etc/services.d

View File

@ -1,3 +1,3 @@
#!/bin/execlineb -P
/usr/sbin/nginx -g "daemon off;"
nginx -g "daemon off;"

View File

@ -1,3 +1,3 @@
#!/bin/execlineb -P
/usr/sbin/uwsgi --ini /etc/uwsgi/uwsgi.conf
uwsgi --ini /etc/uwsgi/uwsgi.conf

View File

@ -4,9 +4,9 @@ LAYER shared/libxml
LAYER shared/python2
LAYER sahana/sahana
MOUNT DIR /srv/sahana/conf srv/web2py/applications/eden/models
MOUNT DIR /srv/sahana/data/SAMBRO srv/web2py/applications/eden/modules/templates/SAMBRO
MOUNT DIR /srv/sahana/data/databases srv/web2py/applications/eden/databases
MOUNT DIR /srv/sahana/data/uploads srv/web2py/applications/eden/uploads
MOUNT DIR /srv/sambro/conf srv/web2py/applications/eden/models
MOUNT DIR /srv/sambro/data/SAMBRO srv/web2py/applications/eden/modules/templates/SAMBRO
MOUNT DIR /srv/sambro/data/databases srv/web2py/applications/eden/databases
MOUNT DIR /srv/sambro/data/uploads srv/web2py/applications/eden/uploads
CMD s6-svscan /etc/services.d

View File

@ -1,3 +1,3 @@
#!/bin/execlineb -P
/usr/sbin/nginx -g "daemon off;"
nginx -g "daemon off;"

View File

@ -1,3 +1,3 @@
#!/bin/execlineb -P
/usr/sbin/php-fpm7 -F
php-fpm7 -F

View File

@ -1,3 +1,3 @@
#!/bin/execlineb -P
/usr/sbin/nginx -g "daemon off;"
nginx -g "daemon off;"

View File

@ -1,3 +1,3 @@
#!/bin/execlineb -P
/usr/sbin/php-fpm7 -F
php-fpm7 -F