Modify `systemd` service files.
This commit is contained in:
parent
14784cc085
commit
8e6c1efc94
|
@ -8,8 +8,8 @@ Requires=network-online.target
|
||||||
ExecStart=/usr/bin/vector --config /etc/vector/filestat_exporter.toml
|
ExecStart=/usr/bin/vector --config /etc/vector/filestat_exporter.toml
|
||||||
ExecReload=/bin/kill -HUP $MAINPID
|
ExecReload=/bin/kill -HUP $MAINPID
|
||||||
Restart=always
|
Restart=always
|
||||||
StandardOutput=syslog
|
StandardOutput=journal
|
||||||
StandardError=syslog
|
StandardError=journal
|
||||||
SyslogIdentifier=vector
|
SyslogIdentifier=vector
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
|
@ -8,8 +8,8 @@ Requires=network-online.target
|
||||||
ExecStart=/usr/bin/vector --config /etc/vector/node_exporter.toml
|
ExecStart=/usr/bin/vector --config /etc/vector/node_exporter.toml
|
||||||
ExecReload=/bin/kill -HUP $MAINPID
|
ExecReload=/bin/kill -HUP $MAINPID
|
||||||
Restart=always
|
Restart=always
|
||||||
StandardOutput=syslog
|
StandardOutput=journal
|
||||||
StandardError=syslog
|
StandardError=journal
|
||||||
SyslogIdentifier=vector
|
SyslogIdentifier=vector
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
|
@ -8,8 +8,8 @@ Requires=network-online.target
|
||||||
ExecStart=/usr/bin/vector --config /etc/vector/prometheus.toml
|
ExecStart=/usr/bin/vector --config /etc/vector/prometheus.toml
|
||||||
ExecReload=/bin/kill -HUP $MAINPID
|
ExecReload=/bin/kill -HUP $MAINPID
|
||||||
Restart=always
|
Restart=always
|
||||||
StandardOutput=syslog
|
StandardOutput=journal
|
||||||
StandardError=syslog
|
StandardError=journal
|
||||||
SyslogIdentifier=vector
|
SyslogIdentifier=vector
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
|
@ -8,8 +8,8 @@ Requires=network-online.target
|
||||||
ExecStart=/usr/bin/vector --config /etc/vector/snmp_exporter.toml
|
ExecStart=/usr/bin/vector --config /etc/vector/snmp_exporter.toml
|
||||||
ExecReload=/bin/kill -HUP $MAINPID
|
ExecReload=/bin/kill -HUP $MAINPID
|
||||||
Restart=always
|
Restart=always
|
||||||
StandardOutput=syslog
|
StandardOutput=journal
|
||||||
StandardError=syslog
|
StandardError=journal
|
||||||
SyslogIdentifier=vector
|
SyslogIdentifier=vector
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
Loading…
Reference in New Issue