1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/redirect_ynh.git synced 2024-09-03 20:16:10 +02:00
This commit is contained in:
Alexandre Aubin 2024-01-06 18:12:31 +01:00
parent e931634e46
commit 62c1bdfdcc

View file

@ -45,8 +45,7 @@ EOF
echo "helloworld" > /redirect/index.html
echo "helloworld" > /redirect/path/index.html
systemctl daemon-reload
ynh_systemd_action --service_name=whatever --action=enable
ynh_systemd_action --service_name=whatever --action=restart
systemctl enable whatever --now
true
"""
preupgrade = """
@ -69,8 +68,7 @@ EOF
echo "helloworld" > /redirect/index.html
echo "helloworld" > /redirect/path/index.html
systemctl daemon-reload
ynh_systemd_action --service_name=whatever --action=enable
ynh_systemd_action --service_name=whatever --action=restart
systemctl enable whatever --now
true
"""