Este sitio web funciona mejor con JavaScript.
Inicio
Explorar
Ayuda
Iniciar sesión
LeeWeiCheng
/
altob.st123
Seguir
1
Destacar
0
Fork
0
Código
Incidencias
0
Pull Requests
0
Lanzamientos
0
Wiki
Actividad
Explorar el Código
add restart mqtt
station_14109
altob.rd
hace 8 años
padre
922c01fe2e
commit
c5c6c7ee76
Se han
modificado 1 ficheros
con
8 adiciones
y
0 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+8
-0
coworker/restart_mqtt_service.sh
+ 8
- 0
coworker/restart_mqtt_service.sh
Ver fichero
@@ -0,0 +1,8 @@
# 重開
# 0. kill pid
kill -9 `cat mqtt_service_pid.txt`
# 1. start
/usr/bin/php /home/bigbang/apps/coworker/mqtt_service.php > /tmp/mqtt_service.log 2>&1&
echo $! > mqtt_service_pid.txt
Escribir
Vista previa
Cargando…
Cancelar
Guardar