Skip to content

Commit

Permalink
Merge pull request #344 from simonsobs/hm-service-robustness
Browse files Browse the repository at this point in the history
systemd service file: add RestartSec=10s
  • Loading branch information
BrianJKoopman committed Aug 23, 2023
2 parents c8d1fc5 + cf39d9c commit 4a981c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/user/centralized_management.rst
Expand Up @@ -476,6 +476,7 @@ should look something like this::
ExecStart=/home/ocs/git/ocs-site-configs/my-lab/launcher-hm-server5.sh
User=ocs
Restart=always
RestartSec=10s

[Install]
WantedBy=multi-user.target
Expand Down
1 change: 1 addition & 0 deletions ocs/ocs_systemd.py
Expand Up @@ -28,6 +28,7 @@
ExecStart={cmd}
User={service_user}
Restart=always
RestartSec=10s
{environment_lines}
[Install]
Expand Down

0 comments on commit 4a981c5

Please sign in to comment.