This change will update monitoring and repoSpanner service

The monitoring needs to see that the service is run by the repoSpanner user.
The service needs to have a larger limit of open files to work.
This commit is contained in:
Stephen Smoogen 2018-12-19 13:41:48 +00:00
parent e85de1cbbf
commit cacbb74b61
2 changed files with 2 additions and 1 deletions

View file

@ -1 +1 @@
command[check_repospanner_proc]={{ libdir }}/nagios/plugins/check_procs -c 1:1 -C 'repospanner'
command[check_repospanner_proc]={{ libdir }}/nagios/plugins/check_procs -c 1:1 -C 'repospanner' -u repoSpanner

View file

@ -7,3 +7,4 @@ Type=simple
ExecStart=/usr/bin/repospanner serve --config /etc/repospanner/%i.yml --debug
User=repoSpanner
Group=repoSpanner
LimitNOFILE=65536