添加U盘升级功能
This commit is contained in:
14
daemon/pydeamon.service
Normal file
14
daemon/pydeamon.service
Normal file
@@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=pydaemon daemon
|
||||
After=rc-local.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
Group=root
|
||||
WorkingDirectory=/home/root
|
||||
ExecStart=/usr/bin/python3 daemon.py
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Reference in New Issue
Block a user