gluon-scheduled-domain-switch: move gluon-switch-domain to /lib/gluon/scheduled-domain-switch

This script is an implementation detail - let's not clutter the global
$PATH namespace with a script with such a generic name.
This commit is contained in:
Matthias Schiffer 2020-06-30 23:10:49 +02:00
parent 60351a1f19
commit 8a79d0249f
No known key found for this signature in database
GPG Key ID: 16EF3F64CB201D9C
2 changed files with 1 additions and 1 deletions

View File

@ -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()