Skip to content

Commit 14b08e7

Browse files
Improved System Customization Layout
1 parent 256c132 commit 14b08e7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

_docs/sysadmin/installation/system_customization.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,12 @@ You may want to back up more of `/var/local/submitty` to save configurations and
2828

2929
## Capture cron error messages
3030

31-
To ensure the reliability of the various Submitty services, such as the WebSocket server, their health status is monitored and restarted hourly via the [sbin/repair_services.sh](https://github.com/Submitty/Submitty/blob/master/sbin/repair_services.sh) script run by the submitty_daemon user. This script leverages `systemctl` along with various health-check utility scripts to verify the active state of these core services, triggering a restart if an inactive state is detected.
31+
To ensure the reliability of the various Submitty services, such as the WebSocket server, their health status is monitored and restarted hourly via the [sbin/repair_services.sh](https://github.com/Submitty/Submitty/blob/master/sbin/repair_services.sh) script run by the `submitty_daemon` user. This script leverages `systemctl` along with various health-check utility scripts to verify the active state of these services, triggering a restart if an inactive state is detected.
3232

3333
Service failures can occur for various reasons, including unhandled exceptions, memory leaks, port binding issues, or OS-level disruptions such as resource exhaustion. All failures are logged with their relevant timestamp, source, and last output within the `/var/log/services` directory for the given day in the format `YYYYMMDD.txt`.
3434

3535
To disable this auto-repair mechanism, comment out the relevant line in the source `.setup/submitty_crontab` file within your repository. Since the crontab is auto-generated during installation, any changes must be followed by a re-run of `submitty_install` to persist them.
3636

37-
**Note: This mechanism should only be disabled with caution in production environments.**
38-
3937
```bash
4038
# In .setup/submitty_crontab, comment out the repair_services.sh line:
4139
# 0 * * * * submitty_daemon sudo /usr/local/submitty/sbin/repair_services.sh
@@ -44,6 +42,8 @@ To disable this auto-repair mechanism, comment out the relevant line in the sour
4442
submitty_install
4543
```
4644

45+
_Note: This mechanism should only be disabled with caution in production environments._
46+
4747
The `submitty_daemon` user runs a variety of other scripts, such as [sbin/send_email.py](https://github.com/Submitty/Submitty/blob/master/sbin/send_email.py) to send pending emails every minute. Console output from these scripts can be emailed to a sysadmin to help ensure that errors can be reported and addressed.
4848

4949
The first line of the relevant script should be set as `MAILTO=` with a valid email address, as shown below.

0 commit comments

Comments
 (0)