blob: 53219e3fc8b84a9e3fd478017eebda33534ee696 [file] [log] [blame] [raw]
[Unit]
Description=Collecting performance data (%I) and upload them to remote database
[Service]
Type=simple
# Current host name of the local host will be sent to database to identify this host, by default
ExecStart=/bin/sh /opt/performance-monitor/collect-%i.sh
# But you can pass an alternate host name instead, like above
#ExecStart=/bin/sh /opt/performance-monitor/collect-%i.sh MACHINE-IDENTIFY-HERE
StandardOutput=null
StandardError=null
Restart=always
WorkingDirectory=/
Nice=1
[Install]
WantedBy=multi-user.target