systemd.service 261 B

12345678910111213
  1. [Unit]
  2. Description=Small description of the service
  3. After=network.target
  4. [Service]
  5. Type=simple
  6. User=__APP__
  7. Group=__APP__
  8. WorkingDirectory=__FINALPATH__/
  9. ExecStart=__FINALPATH__/script >> /var/log/__APP__/__APP__.log 2>&1
  10. [Install]
  11. WantedBy=multi-user.target