diff --git a/scripts/_common.sh b/scripts/_common.sh index cb2aa26..e106b18 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -31,7 +31,9 @@ WantedBy=multi-user.target EOF mkdir -p /redirect + mkdir -p /redirect/path 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