LNMP


标签 LNMP 下的文章

systemctl块语法

1·配置文件xxxx.service

[Unit]
Description=带有配置文件的App

[Service]

ExecStart=/www/demo.com/xxxx "-c" "/www/demo.com/配置文件"


Restart=always

RestartSec=120


[Install]
WantedBy=multi-user.target

- 阅读剩余部分 -

LNMP操作指令

一·软件操作

systemctl status xxxx
systemctl start xxxx
systemctl restart xxxx
systemctl stop xxxx
sudo service xxxx start
sudo service xxxx restart
sudo service xxxx stop
xxxx:nginx    php{version}-fpm    mysql

- 阅读剩余部分 -