Page MenuHomeDevCentral

D2525.id6370.diff
No OneTemporary

D2525.id6370.diff

diff --git a/README.md b/README.md
--- a/README.md
+++ b/README.md
@@ -23,7 +23,7 @@
Nginx is installed through the [nginx-full Debian package](https://wiki.debian.org/Nginx).
SSL is ready if needed at the container level (we expose ports 80 and 443).
-Services are managed by [runit](http://smarden.org/runit/) in `/etc/service` directory.
+Services are managed by [runit](http://smarden.org/runit/) in `/var/service` directory.
## How to use it
@@ -44,7 +44,7 @@
FROM nasqueron/docker-nginx-php7-fpm
# Debian commands to deploy your application code
- # If you need other processes, add a /etc/service/<service name>/run file
+ # If you need other processes, add a /var/service/<service name>/run file
That's it.
diff --git a/files/usr/local/sbin/runsvdir-init b/files/usr/local/sbin/runsvdir-init
--- a/files/usr/local/sbin/runsvdir-init
+++ b/files/usr/local/sbin/runsvdir-init
@@ -1,2 +1,2 @@
#!/bin/sh
-/usr/bin/runsvdir -P /etc/service
+/usr/bin/runsvdir -P /var/service
diff --git a/files/etc/service/nginx/run b/files/var/service/nginx/run
rename from files/etc/service/nginx/run
rename to files/var/service/nginx/run
diff --git a/files/etc/service/php-fpm/run b/files/var/service/php-fpm/run
rename from files/etc/service/php-fpm/run
rename to files/var/service/php-fpm/run
diff --git a/novolume/files/usr/local/sbin/runsvdir-init b/novolume/files/usr/local/sbin/runsvdir-init
--- a/novolume/files/usr/local/sbin/runsvdir-init
+++ b/novolume/files/usr/local/sbin/runsvdir-init
@@ -1,2 +1,2 @@
#!/bin/sh
-/usr/bin/runsvdir -P /etc/service
+/usr/bin/runsvdir -P /var/service
diff --git a/novolume/files/etc/service/nginx/run b/novolume/files/var/service/nginx/run
rename from novolume/files/etc/service/nginx/run
rename to novolume/files/var/service/nginx/run
diff --git a/novolume/files/etc/service/php-fpm/run b/novolume/files/var/service/php-fpm/run
rename from novolume/files/etc/service/php-fpm/run
rename to novolume/files/var/service/php-fpm/run

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 23, 21:51 (17 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2258979
Default Alt Text
D2525.id6370.diff (1 KB)

Event Timeline