2020-07-27 14:56:37 +00:00
|
|
|
[Unit]
|
|
|
|
Description=GPU-based controller of SUPERMICRO server FANs
|
|
|
|
After=syslog.target nvidia-persistenced.service
|
|
|
|
|
2020-07-28 12:36:58 +00:00
|
|
|
StartLimitIntervalSec=500
|
|
|
|
StartLimitBurst=5
|
|
|
|
|
2020-07-27 14:56:37 +00:00
|
|
|
[Service]
|
|
|
|
Type=simple
|
2020-07-28 12:36:58 +00:00
|
|
|
|
2020-07-27 14:56:37 +00:00
|
|
|
User=root
|
|
|
|
Group=root
|
2020-07-28 12:36:58 +00:00
|
|
|
|
2020-07-27 14:56:37 +00:00
|
|
|
Environment="PYTHONUNBUFFERED=true"
|
|
|
|
ExecStart=/placeholder/path/to/superfans-gpu-controller "/etc/superfans-gpu-controller.json"
|
2020-07-28 12:36:58 +00:00
|
|
|
|
2020-07-27 14:56:37 +00:00
|
|
|
StandardOutput=syslog
|
|
|
|
StandardError=syslog
|
|
|
|
|
2020-07-28 12:36:58 +00:00
|
|
|
Restart=on-failure
|
|
|
|
RestartSec=5s
|
|
|
|
|
2020-07-27 14:56:37 +00:00
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|