Fixed comments in service files

This commit is contained in:
Dan Snyder 2025-05-23 11:56:36 -04:00
parent 0debdf3251
commit 4d0fcf7270
2 changed files with 12 additions and 6 deletions

View File

@ -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]

View File

@ -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]