欢迎您使用OneinStack - 控制中心 - 如何管理服务?

如何管理服务?

PS: 提示Redirecting to /bin/systemctl请忽略,即已切换至systemd,兼容service

Nginx/Tengine/OpenResty:

service nginx {start|stop|status|restart|reload|configtest}

MySQL/MariaDB/Percona:

service mysqld {start|stop|restart|reload|status}

PostgreSQL:

service postgresql {start|stop|restart|status}

MongoDB:

service mongod {start|stop|status|restart|reload}

PHP:

service php-fpm {start|stop|restart|reload|status}

HHVM:

service supervisord {start|stop|status|restart|reload}

:hhvm进程交给supervisord管理,了解更多请访问《Supervisor管理hhvm进程

Apache:

service httpd {start|restart|stop}

Tomcat:

service tomcat {start|stop|status|restart}

Pure-Ftpd:

service pureftpd {start|stop|restart|status}

Redis:

service redis-server {start|stop|status|restart}

Memcached:

service memcached {start|stop|status|restart|reload}


Original url: Access
Created at: 2018-11-23 14:48:06
Category: default
Tags: none

请先后发表评论
  • 最新评论
  • 总共0条评论