Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update monitor-smtp timer and documentation for reboot restart #16

Merged
merged 1 commit into from
Jul 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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