YunoHost-Apps / hotspot_ynh

Wifi Hotspot app for YunoHost
GNU Affero General Public License v3.0
39 stars 19 forks source link

Moulinette Lock Error #47

Closed keomabrun closed 5 years ago

keomabrun commented 5 years ago

https://paste.yunohost.org/raw/ovubiqenuv

The error occurs when we try to disable the service (if no device is detected).

alexAubin commented 5 years ago

Hmyea by the way, we should try to get rid of those ynh_systemctl at some point ... This was an ugly hackish solution from 1.5 year ago.

This should also be done for vpnclient if not aleady the case.

Instead, the --need_lock was introduced to cover this use case : https://github.com/YunoHost/yunohost/blob/stretch-unstable/data/actionsmap/yunohost.yml#L1146

So basically :