[Unit]
Description=YunoHost Wifi Hotspot.
Requires=network.target
After=network.target

[Service]
Type=oneshot
ExecStart=/usr/local/bin/ynh-hotspot start
ExecStop=/usr/local/bin/ynh-hotspot stop
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target
