aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/task-runner.service
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/task-runner.service')
-rw-r--r--scripts/task-runner.service2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/task-runner.service b/scripts/task-runner.service
index 3a44447d..64b55561 100644
--- a/scripts/task-runner.service
+++ b/scripts/task-runner.service
@@ -10,6 +10,8 @@ Environment=LOG_DIR=/home/share/CorpCDOs/logs
Environment=CODE_DIR=/home/share/CorpCDOs
Environment='R_LIBS_USER=/home/guillaume/R/\x25p-library/\x25v'
Environment=PGPASSFILE=/home/guillaume/.pgpass
+Restart=always
+RestartSec=3
[Install]
WantedBy=default.target