Skip to content

Commit

Permalink
Merge pull request #16 from IQSS/update-monitor-smtp
Browse files Browse the repository at this point in the history
update monitor-smtp timer and documentation for reboot restart
  • Loading branch information
stevenwinship authored Jul 1, 2024
2 parents 5a8ada3 + 9fff3c5 commit c59c1ed
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/Sphinx-guides/source/developerGuide/localEnvironment.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,9 @@ Copy ppr-ojs/environment/monitoring/smtp-monitor.sh to your home directory on th

The default directory is /home/core/smtp-monitor.sh but can be changes by editing the monitor-smtp.service file

Start the service:
Start the service (and enable startup on reboot):
```
sudo systemctl enable monitor-smtp.timer
sudo systemctl start monitor-smtp.timer
```
A log will be generated and can be viewed by:
Expand Down
3 changes: 3 additions & 0 deletions environment/monitoring/monitor-smtp.timer
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ Description=Run monitor-smtp.service every 10 minutes

[Timer]
OnCalendar=*:0/10

[Install]
WantedBy=timers.target

0 comments on commit c59c1ed

Please sign in to comment.