mirror of
https://github.com/mtan93/install-nextcloud.git
synced 2026-03-08 05:31:52 +00:00
Restart all services related to your Nextcloud instance
/usr/sbin/service nginx stop /usr/sbin/service mysql restart /usr/sbin/service redis-server restart /usr/sbin/service php7.2-fpm restart /usr/sbin/service nginx restart
This commit is contained in:
11
restart.sh
Normal file
11
restart.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
###
|
||||
# restart all services related to your Nextcloud instance
|
||||
# issue by e.g.:/root/restart.sh
|
||||
###
|
||||
#!/bin/bash
|
||||
/usr/sbin/service nginx stop
|
||||
/usr/sbin/service mysql restart
|
||||
/usr/sbin/service redis-server restart
|
||||
/usr/sbin/service php7.2-fpm restart
|
||||
/usr/sbin/service nginx restart
|
||||
exit 0
|
||||
Reference in New Issue
Block a user