Ver código fonte

Merge pull request #62 from yalh76/master

Log personalization for ADMIN PANEL
Maniack Crudelis 5 anos atrás
pai
commit
2186976044
2 arquivos alterados com 3 adições e 3 exclusões
  1. 2 2
      scripts/install
  2. 1 1
      scripts/restore

+ 2 - 2
scripts/install

@@ -287,9 +287,9 @@ ynh_use_logrotate
 ###		- Remove the section "REMOVE SERVICE FROM ADMIN PANEL" in the remove script
 ###		- As well as the section "ADVERTISE SERVICE IN ADMIN PANEL" in the restore script
 
-yunohost service add $app --log "/var/log/$app/APP.log"
+yunohost service add $app --log "/var/log/$app/$app.log"
 # if using yunohost version 3.2 or more in the 'manifest.json', a description can be added
-#yunohost service add $app --description "$app daemon for XXX" --log "/var/log/$app/APP.log"
+#yunohost service add $app --description "$app daemon for XXX" --log "/var/log/$app/$app.log"
 
 #=================================================
 # SETUP SSOWAT

+ 1 - 1
scripts/restore

@@ -102,7 +102,7 @@ systemctl enable $app.service
 # ADVERTISE SERVICE IN ADMIN PANEL
 #=================================================
 
-yunohost service add $app --log "/var/log/$app/APP.log"
+yunohost service add $app --log "/var/log/$app/$app.log"
 
 #=================================================
 # RESTORE THE CRON FILE