diff --git a/package/gluon-scheduled-domain-switch/luasrc/usr/bin/gluon-switch-domain b/package/gluon-scheduled-domain-switch/luasrc/lib/gluon/scheduled-domain-switch/switch-domain similarity index 100% rename from package/gluon-scheduled-domain-switch/luasrc/usr/bin/gluon-switch-domain rename to package/gluon-scheduled-domain-switch/luasrc/lib/gluon/scheduled-domain-switch/switch-domain diff --git a/package/gluon-scheduled-domain-switch/luasrc/lib/gluon/upgrade/950-gluon-scheduled-domain-switch b/package/gluon-scheduled-domain-switch/luasrc/lib/gluon/upgrade/950-gluon-scheduled-domain-switch index c221eeda..77803eee 100755 --- a/package/gluon-scheduled-domain-switch/luasrc/lib/gluon/upgrade/950-gluon-scheduled-domain-switch +++ b/package/gluon-scheduled-domain-switch/luasrc/lib/gluon/upgrade/950-gluon-scheduled-domain-switch @@ -14,5 +14,5 @@ end -- Only in case domain switch is scheduled local f = io.open(cronfile, "w") f:write("* * * * * /usr/bin/gluon-check-connection\n") -f:write("*/5 * * * * /usr/bin/gluon-switch-domain\n") +f:write("*/5 * * * * /lib/gluon/scheduled-domain-switch/switch-domain\n") f:close()