You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by lf...@apache.org on 2021/10/19 09:09:42 UTC
[incubator-datalab] branch DATALAB-2409 updated: [DATALAB-2409]:
added restart to tensorboard service
This is an automated email from the ASF dual-hosted git repository.
lfrolov pushed a commit to branch DATALAB-2409
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
The following commit(s) were added to refs/heads/DATALAB-2409 by this push:
new 299ec59 [DATALAB-2409]: added restart to tensorboard service
299ec59 is described below
commit 299ec5947dbca6f9a383549263b62da31ad4a06c
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Tue Oct 19 12:09:09 2021 +0300
[DATALAB-2409]: added restart to tensorboard service
---
.../src/general/templates/os/tensorboard.service | 2 ++
1 file changed, 2 insertions(+)
diff --git a/infrastructure-provisioning/src/general/templates/os/tensorboard.service b/infrastructure-provisioning/src/general/templates/os/tensorboard.service
index c6ecaaf..d9b0870 100644
--- a/infrastructure-provisioning/src/general/templates/os/tensorboard.service
+++ b/infrastructure-provisioning/src/general/templates/os/tensorboard.service
@@ -30,6 +30,8 @@ ExecStop=/bin/bash -c "for i in $(ps aux | grep 'tensorboard' | grep -v grep | a
User=OS_USR
Group=OS_USR
WorkingDirectory=/home/OS_USR
+Restart=on-failure
+RestartSec=30s
[Install]
WantedBy=multi-user.target
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org