systemd.service 272 B

1234567891011121314
  1. [Unit]
  2. Description=YunoHost Wifi Hotspot
  3. Requires=network.target
  4. After=network.target
  5. [Service]
  6. Type=oneshot
  7. User=root
  8. ExecStart=/usr/local/bin/__SERVICE_NAME__ start
  9. ExecStop=/usr/local/bin/__SERVICE_NAME__ stop
  10. RemainAfterExit=yes
  11. [Install]
  12. WantedBy=multi-user.target