summaryrefslogtreecommitdiff
path: root/net-analyzer/zabbix/files/zabbix-agent2.service
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-03-12 21:55:15 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-03-12 21:55:15 +0000
commit7218e1b46bceac05841e90472501742d905fb3fc (patch)
tree56fae051db521b8fce8014cbc8b11484885b14b3 /net-analyzer/zabbix/files/zabbix-agent2.service
parent6d691ad5b6239929063441bbd14c489e92e7396e (diff)
gentoo resync : 12.03.2021
Diffstat (limited to 'net-analyzer/zabbix/files/zabbix-agent2.service')
-rw-r--r--net-analyzer/zabbix/files/zabbix-agent2.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/net-analyzer/zabbix/files/zabbix-agent2.service b/net-analyzer/zabbix/files/zabbix-agent2.service
new file mode 100644
index 000000000000..b182482fde97
--- /dev/null
+++ b/net-analyzer/zabbix/files/zabbix-agent2.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Zabbix agent
+Documentation=https://zabbix.com/manuals
+After=network.target network-online.target
+
+[Service]
+User=zabbix
+Group=zabbix
+ExecStart=/usr/sbin/zabbix_agent2 --foreground --config /etc/zabbix/zabbix_agent2.conf
+
+[Install]
+WantedBy=multi-user.target