标签:code restart 命令 启动 font ocs sys ant mct
vim /usr/lib/systemd/system/minio.service
1 [Unit] 2 Description=Minio service 3 Documentation=https://docs.minio.io/ 4 5 [Service] 6 WorkingDirectory=/root/minio/ 7 ExecStart=/root/minio/run.sh #run.sh ,编写的服务启动命令 8 9 Restart=on-failure 10 RestartSec=5 11 12 [Install] 13 WantedBy=multi-user.target
systemctl daemon-reload
systemctl start minio
标签:code restart 命令 启动 font ocs sys ant mct
原文地址:https://www.cnblogs.com/whxiao/p/13261883.html