Skip to content

Commit

Permalink
nc-nextcloud: restart php after redis
Browse files Browse the repository at this point in the history
  • Loading branch information
nachoparker committed Nov 12, 2017
1 parent 72463fa commit a7af6e4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
4 changes: 3 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@

[v0.34.8 ](https://github.com/nextcloud/nextcloudpi/commit/78abdf1) (2017-11-12) nc-init: install notifications
[v0.34.9](https://github.com/nextcloud/nextcloudpi/commit/7e0e4e0) (2017-11-12) nc-nextcloud: restart php after redis

[v0.34.8 ](https://github.com/nextcloud/nextcloudpi/commit/d0782ed) (2017-11-12) nc-init: install notifications

[v0.34.7 ](https://github.com/nextcloud/nextcloudpi/commit/638ff3c) (2017-11-12) redis: fix update bug

Expand Down
7 changes: 7 additions & 0 deletions etc/nextcloudpi-config.d/nc-nextcloud.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,13 @@ install()

[[ "$DOCKERBUILD" != 1 ]] && systemctl restart redis-server
[[ "$DOCKERBUILD" != 1 ]] && systemctl enable redis-server

# need to restart php
systemctl stop php7.0-fpm
systemctl stop mysqld
sleep 0.5
systemctl start php7.0-fpm
systemctl start mysqld
}

configure()
Expand Down

0 comments on commit a7af6e4

Please sign in to comment.