[Unit] Description=CUPS Printer Driver Manager Documentation=https://gitee.com/yu-yon/S905L3A After=network.target cups.service Wants=cups.service [Service] Type=simple User=root WorkingDirectory=/opt/cups-driver-manager ExecStart=/usr/bin/python3 /opt/cups-driver-manager/driver_manager.py --port 632 Restart=on-failure RestartSec=5 Environment=DRIVER_MANAGER_PASSWORD=admin # 安全设置 NoNewPrivileges=false ProtectSystem=false ProtectHome=false [Install] WantedBy=multi-user.target