Browse Source

--need_lock on restore

Kayou 6 years ago
parent
commit
e376c50ad6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scripts/restore

+ 1 - 1
scripts/restore

@@ -130,7 +130,7 @@ systemctl enable $service_name.service
 # ADVERTISE SERVICE IN ADMIN PANEL
 #=================================================
 
-yunohost service add $app --log "/var/log/$app/$app.log"
+yunohost service add $service_name --description "Creates a Wi-Fi access point" --need_lock
 
 #=================================================
 # GENERIC FINALIZATION