[root@mail ~]# pkill -9 httpd; sh /script/restart-web -y
Stopping Hiawatha web server: [FAILED]
Starting Hiawatha web server: [listen(http(s)): Address already in use
OK ]
-------------------------------------------------------------------
Stopping httpd: [FAILED]
Starting httpd: [ OK ]
-------------------------------------------------------------------
Stopping php54m-fpm: [ OK ]
Starting php54m-fpm: [ OK ]
-------------------------------------------------------------------
- For help, type '/script/restart-web [--help|-h]'
[root@mail ~]# service hiawatha status
hiawatha dead but pid file exists
[root@mail ~]#
Try 'pkill -9 httpd; sh /script/restart-web -y'.