We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e5b64c commit bd65cbeCopy full SHA for bd65cbe
app/libs.sh
@@ -199,7 +199,10 @@ function post_install_nginx() {
199
# Paths
200
sed -i -e "s|\$REPLACE_NGINX_PATH|${NGINX_PATH}|g" /etc/init.d/nginx
201
sed -i -e "s|\$REPLACE_NGINX_USE_PATH|${NGINX_USE_PATH}|g" /etc/init.d/nginx
202
-
+ # Touch: pid
203
+ touch /run/nginx.pid
204
+ chmod 0770 /run/nginx.pid
205
+
206
if [ $DISTRO_VERSION = "16.04" ] || [ $DISTRO_VERSION = "16.10" ] ; then
207
mkdir -p /usr/lib/systemd/system/
208
# Service file for nginx
0 commit comments