sgl.service 276B

1234567891011121314
  1. [Unit]
  2. Description=ShiGongli
  3. After=syslog.target
  4. [Service]
  5. User=root
  6. Type=forking
  7. ExecStart=/opt/yunzhi/sgl-v2/service.sh start
  8. ExecReload=/opt/yunzhi/sgl-v2/service.sh restart
  9. ExecStop=/opt/yunzhi/sgl-v2/service.sh stop
  10. PrivateTmp=true
  11. [Install]
  12. WantedBy=multi-user.target