- [Unit]
- Description=ShiGongli
- After=syslog.target
-
- [Service]
- User=root
- Type=forking
- ExecStart=/opt/yunzhi/sgl-v2/service.sh start
- ExecReload=/opt/yunzhi/sgl-v2/service.sh restart
- ExecStop=/opt/yunzhi/sgl-v2/service.sh stop
- PrivateTmp=true
-
- [Install]
- WantedBy=multi-user.target
|