Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
infrastructure
Commits
b94de5bb
Verified
Commit
b94de5bb
authored
Mar 03, 2018
by
Florian Pritz
Browse files
zabbix: Restart service when nginx-zabbix.pl changes
Signed-off-by:
Florian Pritz
<
bluewind@xinu.at
>
parent
ec121e92
Changes
1
Hide whitespace changes
Inline
Side-by-side
roles/zabbix-agent/tasks/main.yml
View file @
b94de5bb
...
...
@@ -33,9 +33,14 @@
with_items
:
-
systemd-units-failed.py
-
mysql-user-stats.pl
-
nginx-zabbix.pl
-
systemd-discover-accounting-units.py
-
name
:
Install helper scripts
copy
:
src=nginx-zabbix.pl dest=/usr/local/bin/nginx-zabbix.pl mode=0755 owner=root group=root
notify
:
-
restart nginx-zabbix.service
when
:
"
'nginx'
in
group_names"
-
name
:
copy nginx-zabbix.service
copy
:
src=nginx-zabbix.service dest=/etc/systemd/system/nginx-zabbix.service owner=root group=root mode=0644
notify
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment