remove systemd references, restart nginx/php-fpm
This commit is contained in:
parent
6266f4ab30
commit
351e4ba985
2 changed files with 3 additions and 1 deletions
|
@ -67,6 +67,7 @@ ram.runtime = "100M"
|
||||||
sha256 = "f92a6dc9c98ec1e3837939db571833d28e72b992f5a9611925e9d242fcb40f72"
|
sha256 = "f92a6dc9c98ec1e3837939db571833d28e72b992f5a9611925e9d242fcb40f72"
|
||||||
|
|
||||||
[resources.system_user]
|
[resources.system_user]
|
||||||
|
#user = "__APP_NAME__:rwx"
|
||||||
|
|
||||||
[resources.install_dir]
|
[resources.install_dir]
|
||||||
group = "www-data:r-x"
|
group = "www-data:r-x"
|
||||||
|
|
|
@ -154,7 +154,8 @@ ynh_script_progression "Starting $app's systemd service..."
|
||||||
### - And the section "STOP SYSTEMD SERVICE" and "START SYSTEMD SERVICE" in the change_url script
|
### - And the section "STOP SYSTEMD SERVICE" and "START SYSTEMD SERVICE" in the change_url script
|
||||||
|
|
||||||
# Start a systemd service
|
# Start a systemd service
|
||||||
ynh_systemctl --service="$app" --action="start"
|
ynh_systemctl --service="nginx" --action="reload"
|
||||||
|
ynh_systemctl --service="php__PHP_VERSION__-fpm" --action="reload"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# END OF SCRIPT
|
# END OF SCRIPT
|
||||||
|
|
Loading…
Add table
Reference in a new issue