基本功能实现和验证

This commit is contained in:
kushidou
2026-07-09 23:13:48 +08:00
parent 0d14a5de4e
commit 4d0db4c390
6 changed files with 1282 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
[Unit]
Description=padsleep_adb — 基于 ADB 的安卓平板亮屏/息屏控制
After=network.target
[Service]
Type=simple
User=kushidou
WorkingDirectory=/home/kushidou/apps/padsleep_adb
ExecStart=/usr/bin/python3 /home/kushidou/apps/padsleep_adb/padsleep.py
Restart=on-failure
RestartSec=10
StandardOutput=journal
StandardError=journal
[Install]
WantedBy=multi-user.target