Fixed comments in service files
This commit is contained in:
parent
0debdf3251
commit
4d0fcf7270
@ -1,11 +1,14 @@
|
||||
[Unit]
|
||||
Description=Prometheus Node Exporter
|
||||
After=network.target # Adjust based on dependencies, if any
|
||||
# Adjust based on dependencies, if any
|
||||
After=network.target
|
||||
|
||||
[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
|
||||
Restart=always # Restart if the process crashes
|
||||
RestartSec=5 # Wait 5 seconds before restarting
|
||||
# Restart if the process crashes
|
||||
Restart=always
|
||||
# Wait 5 seconds before restarting
|
||||
RestartSec=5
|
||||
WorkingDirectory=@WORKDIR@
|
||||
|
||||
[Install]
|
||||
|
||||
@ -1,11 +1,14 @@
|
||||
[Unit]
|
||||
Description=Proxmox Process Monitor/Exporter
|
||||
After=network.target # Adjust based on dependencies, if any
|
||||
# Adjust based on dependencies, if any
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
ExecStart=@WORKDIR@/bin/proxmon 9101
|
||||
Restart=always # Restart if the process crashes
|
||||
RestartSec=5 # Wait 5 seconds before restarting
|
||||
# Restart if the process crashes
|
||||
Restart=always
|
||||
# Wait 5 seconds before restarting
|
||||
RestartSec=5
|
||||
WorkingDirectory=@WORKDIR@
|
||||
|
||||
[Install]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user