Files
hotspot5ghz_ynh/conf/ynh-hotspot.service
Sebastien Badia e56cc50d6c systemd: Add a service unit for ynh-hotspot
note: require start and stop are a space separated list
2015-05-12 09:17:59 +02:00

16 lines
326 B
Desktop File

[Unit]
Description=YunoHost Wifi Hotspot.
Requires=network.target
After=network.target
[Service]
Type=oneshot
ExecStart=/usr/local/bin/ynh-hotspot start
ExecRestart=/usr/local/bin/ynh-hotspot restart
ExecStop=/usr/local/bin/ynh-hotspot stop
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target
Alias=ynh-hotspot.service