mirror of
https://github.com/YunoHost-Apps/tldraw_ynh.git
synced 2024-09-03 20:35:54 +02:00
Should work
This commit is contained in:
parent
3601e9fb6d
commit
fc62c257d9
2 changed files with 8 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Small description of the service
|
Description=A tiny little drawing app
|
||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
|
|
@ -109,6 +109,13 @@ ynh_script_progression --message="Restoring the logrotate configuration..." --we
|
||||||
|
|
||||||
ynh_restore_file --origin_path="/etc/logrotate.d/$app"
|
ynh_restore_file --origin_path="/etc/logrotate.d/$app"
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# RESTORE THE LOGS
|
||||||
|
#=================================================
|
||||||
|
ynh_script_progression --message="Restoring the logs..." --weight=1
|
||||||
|
|
||||||
|
ynh_restore_file --origin_path="/var/log/$app/$app.log"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# INTEGRATE SERVICE IN YUNOHOST
|
# INTEGRATE SERVICE IN YUNOHOST
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue