mirror of
https://github.com/YunoHost-Apps/cac-proxy_ynh.git
synced 2024-09-03 18:16:07 +02:00
Merge pull request #28 from YunoHost-Apps/testing
restore recreate log dir
This commit is contained in:
commit
c4f16c7626
2 changed files with 3 additions and 1 deletions
|
@ -7,7 +7,7 @@ name = "Cors Proxy"
|
||||||
description.en = "An advanced https proxy allowing you to call other websites from your own web application."
|
description.en = "An advanced https proxy allowing you to call other websites from your own web application."
|
||||||
description.fr = "Un proxy https avancé vous permettant d'appeler d'autres sites depuis votre propre application web."
|
description.fr = "Un proxy https avancé vous permettant d'appeler d'autres sites depuis votre propre application web."
|
||||||
|
|
||||||
version = "1.2.1~ynh3"
|
version = "1.2.1~ynh4"
|
||||||
|
|
||||||
maintainers = ["Gerard Collin"]
|
maintainers = ["Gerard Collin"]
|
||||||
|
|
||||||
|
|
|
@ -49,6 +49,8 @@ ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf"
|
||||||
|
|
||||||
ynh_restore_file --origin_path="/etc/logrotate.d/$app"
|
ynh_restore_file --origin_path="/etc/logrotate.d/$app"
|
||||||
|
|
||||||
|
mkdir --parents /var/log/$app
|
||||||
|
|
||||||
ynh_restore_file --origin_path="/etc/systemd/system/$app.service"
|
ynh_restore_file --origin_path="/etc/systemd/system/$app.service"
|
||||||
systemctl enable $app.service --quiet
|
systemctl enable $app.service --quiet
|
||||||
yunohost service add $app --description="A Cors proxy letting the browser manages cookies and redirects." --log="/var/log/$app/$app.log"
|
yunohost service add $app --description="A Cors proxy letting the browser manages cookies and redirects." --log="/var/log/$app/$app.log"
|
||||||
|
|
Loading…
Reference in a new issue