Commit version 24.12.13800
This commit is contained in:
13
scripts/systemd/observium_agent.service
Normal file
13
scripts/systemd/observium_agent.service
Normal file
@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=Observium Agent Service
|
||||
After=network.target observium_agent.socket
|
||||
Requires=observium_agent.socket
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
# Note the - to make systemd ignore the exit code
|
||||
ExecStart=-/usr/bin/observium_agent
|
||||
# This is the part that makes it work like inetd
|
||||
StandardOutput=socket
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user