Fixed comments in service files
This commit is contained in:
parent
0debdf3251
commit
4d0fcf7270
@ -1,11 +1,14 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Prometheus Node Exporter
|
Description=Prometheus Node Exporter
|
||||||
After=network.target # Adjust based on dependencies, if any
|
# Adjust based on dependencies, if any
|
||||||
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=@WORKDIR@/bin/node_exporter --collector.mountstats --no-collector.processes --no-collector.arp --no-collector.nfs --no-collector.nfsd --no-collector.thermal_zone --web.listen-address=:9100
|
ExecStart=@WORKDIR@/bin/node_exporter --collector.mountstats --no-collector.processes --no-collector.arp --no-collector.nfs --no-collector.nfsd --no-collector.thermal_zone --web.listen-address=:9100
|
||||||
Restart=always # Restart if the process crashes
|
# Restart if the process crashes
|
||||||
RestartSec=5 # Wait 5 seconds before restarting
|
Restart=always
|
||||||
|
# Wait 5 seconds before restarting
|
||||||
|
RestartSec=5
|
||||||
WorkingDirectory=@WORKDIR@
|
WorkingDirectory=@WORKDIR@
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|||||||
@ -1,11 +1,14 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Proxmox Process Monitor/Exporter
|
Description=Proxmox Process Monitor/Exporter
|
||||||
After=network.target # Adjust based on dependencies, if any
|
# Adjust based on dependencies, if any
|
||||||
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=@WORKDIR@/bin/proxmon 9101
|
ExecStart=@WORKDIR@/bin/proxmon 9101
|
||||||
Restart=always # Restart if the process crashes
|
# Restart if the process crashes
|
||||||
RestartSec=5 # Wait 5 seconds before restarting
|
Restart=always
|
||||||
|
# Wait 5 seconds before restarting
|
||||||
|
RestartSec=5
|
||||||
WorkingDirectory=@WORKDIR@
|
WorkingDirectory=@WORKDIR@
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user