heyu.service.j2 262 B

1234567891011121314
  1. [Unit]
  2. Description=Heyu Daemon
  3. Wants=network-online.target
  4. After=network-online.target
  5. [Service]
  6. User={{ heyu_user }}
  7. Group={{ heyu_user }}
  8. Type=forking
  9. ExecStart=/usr/local/bin/heyu start
  10. ExecStop=/usr/local/bin/heyu stop
  11. [Install]
  12. WantedBy=multi-user.target