yfkj-local-startup.service 409 B

1234567891011121314151617
  1. [Unit]
  2. Description=Yunfei Local Startup Task Execution
  3. After=local-fs.target systemd-udevd.service
  4. Wants=systemd-udevd.service
  5. [Service]
  6. Type=oneshot
  7. Environment="PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin"
  8. ExecStart=/bin/sh /opt/yfkj/local-startup.service/startup.sh
  9. RemainAfterExit=yes
  10. TimeoutSec=0
  11. StandardOutput=journal
  12. StandardError=journal
  13. [Install]
  14. WantedBy=multi-user.target