mirror of
https://github.com/YunoHost-Apps/droppy_ynh.git
synced 2024-09-03 18:26:27 +02:00
cleaning
This commit is contained in:
parent
e4ffcc74e4
commit
14cef8d285
3 changed files with 3 additions and 3 deletions
|
@ -64,7 +64,7 @@ ynh_add_systemd_config
|
||||||
# Use logrotate to manage application logfile(s)
|
# Use logrotate to manage application logfile(s)
|
||||||
ynh_use_logrotate
|
ynh_use_logrotate
|
||||||
|
|
||||||
yunohost service add $app --description="Self-hosted file storage server" --log="/var/log/$app/$app.log"
|
yunohost service add $app --description="File storage server" --log="/var/log/$app/$app.log"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# START SYSTEMD SERVICE
|
# START SYSTEMD SERVICE
|
||||||
|
|
|
@ -46,7 +46,7 @@ systemctl enable $app.service --quiet
|
||||||
|
|
||||||
ynh_restore_file --origin_path="/etc/logrotate.d/$app"
|
ynh_restore_file --origin_path="/etc/logrotate.d/$app"
|
||||||
|
|
||||||
yunohost service add $app --description="Self-hosted file storage server" --log="/var/log/$app/$app.log"
|
yunohost service add $app --description="File storage server" --log="/var/log/$app/$app.log"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# START SYSTEMD SERVICE
|
# START SYSTEMD SERVICE
|
||||||
|
|
|
@ -54,7 +54,7 @@ ynh_add_systemd_config
|
||||||
# Use logrotate to manage app-specific logfile(s)
|
# Use logrotate to manage app-specific logfile(s)
|
||||||
ynh_use_logrotate --non-append
|
ynh_use_logrotate --non-append
|
||||||
|
|
||||||
yunohost service add $app --description="Self-hosted file storage server" --log="/var/log/$app/$app.log"
|
yunohost service add $app --description="File storage server" --log="/var/log/$app/$app.log"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SPECIFIC UPGRADE
|
# SPECIFIC UPGRADE
|
||||||
|
|
Loading…
Add table
Reference in a new issue