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:
parent
60351a1f19
commit
8a79d0249f
@ -14,5 +14,5 @@ end
|
|||||||
-- Only in case domain switch is scheduled
|
-- Only in case domain switch is scheduled
|
||||||
local f = io.open(cronfile, "w")
|
local f = io.open(cronfile, "w")
|
||||||
f:write("* * * * * /usr/bin/gluon-check-connection\n")
|
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()
|
f:close()
|
||||||
|
Loading…
Reference in New Issue
Block a user