make sure to chown the log dir to the app's user
This commit is contained in:
@@ -2,6 +2,7 @@ pre-start script
|
|||||||
|
|
||||||
bash << "EOF"
|
bash << "EOF"
|
||||||
mkdir -p /var/log/<%= app %>
|
mkdir -p /var/log/<%= app %>
|
||||||
|
chown -R <%= user %> /var/log/<%= app %>
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
end script
|
end script
|
||||||
|
|||||||
Reference in New Issue
Block a user