Projet

Général

Profil

« Précédent | Suivant » 

Révision a3cc8dcc

Ajouté par Ermal il y a plus de 9 ans

Add an option to restart php-fpm from console

Voir les différences:

etc/rc.initial
81 81

  
82 82
# display a cheap menu
83 83
echo ""
84
echo ""
85 84
echo " 0) Logout (SSH only)                  8) Shell"
86 85
echo " 1) Assign Interfaces                  9) pfTop"
87 86
echo " 2) Set interface(s) IP address       10) Filter Logs"
......
90 89
echo " 5) Reboot system                     13) Upgrade from console"
91 90
echo " 6) Halt system                       ${sshd_option}"
92 91
echo " 7) Ping host                         15) Restore recent configuration"
93
echo " ${option98}"
92
echo " 17) Restart PHP-FPM "
93
echo " ${option98} "
94 94

  
95 95
if [ "${option99}" != "" ]; then
96 96
	/bin/echo "${option99}"
......
153 153
16)
154 154
		/etc/rc.banner
155 155
		;;
156
17)
157
		/etc/rc.php-fpm_restart
158
		;;
156 159
98)
157 160
		if [ ! -f /tmp/config_moved ]; then
158 161
			/etc/rc.initial.store_config_to_removable_device

Formats disponibles : Unified diff