From 8e26cb731b36e8fb0ec48c40be5670c3f77cf346 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Thu, 24 May 2018 20:47:09 +0200 Subject: T462: make cron jobs run with vyattacfg GID. --- src/conf_mode/task_scheduler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/conf_mode') diff --git a/src/conf_mode/task_scheduler.py b/src/conf_mode/task_scheduler.py index c19b88007..285afe2b5 100755 --- a/src/conf_mode/task_scheduler.py +++ b/src/conf_mode/task_scheduler.py @@ -47,7 +47,7 @@ def split_interval(s): def make_command(executable, arguments): if arguments: - return("{0} {1}".format(executable, arguments)) + return("sg vyattacfg \"{0} {1}\"".format(executable, arguments)) else: return(executable) -- cgit v1.2.3