[Unit] | |
Description=Collecting performance data (%I) and upload them to remote database | |
[Service] | |
Type=simple | |
ExecStart=/bin/sh /opt/performance-monitor/collect-%i.sh | |
StandardOutput=null | |
StandardError=null | |
Restart=always | |
RestartSec=10 | |
WorkingDirectory=/ | |
Nice=1 | |
[Install] | |
WantedBy=multi-user.target |