1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/hotspot_ynh.git synced 2024-09-03 19:25:53 +02:00
hotspot_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

15 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