app.service.in 402 B

1234567891011121314151617
  1. [Unit]
  2. Description=Start gd_vehicle Server
  3. Requires=network-online.target
  4. # We disable the wants service, because it spams the log files
  5. [Service]
  6. ExecStart=/etc/init.d/%APP_NAME% start
  7. ExecStop=/etc/init.d/%APP_NAME% stop
  8. Type=forking
  9. # We disable PIDFile= because it doesn't work with multi-mode configurations
  10. #PIDFile=/var/run/camera.pid
  11. TimeoutStopSec=300
  12. [Install]
  13. WantedBy=multi-user.target