您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

disco.service 250 B

12345678910111213
  1. [Unit]
  2. Description=Discobert as a Service
  3. After=multi-user.target
  4. [Service]
  5. Type=idle
  6. User=pi
  7. ExecStart=/usr/bin/python3 /home/pi/discobert/discobert.py > /home/pi/discobert.log 2>&1
  8. Restart=always
  9. RestartSec=3
  10. [Install]
  11. WantedBy=multi-user.target