add cpu power mode
This commit is contained in:
15
services/nebuleair-cpu-power.service
Normal file
15
services/nebuleair-cpu-power.service
Normal file
@@ -0,0 +1,15 @@
|
||||
[Unit]
|
||||
Description=NebuleAir CPU Power Mode Service
|
||||
After=multi-user.target
|
||||
Wants=multi-user.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/python3 /var/www/nebuleair_pro_4g/power/apply_cpu_mode_from_db.py
|
||||
User=root
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
RemainAfterExit=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user