在 Linux 中使用 services.d 设置 PlexAutoSkip 的步骤:
假设脚本安装在 /usr/local/pas,请根据需要替换您的目录
/usr/local/pas
/etc/systemd/system/
sudo vim PlexAutoSkip.service
# Plex Auto Skip Service [Unit] Description=Plex Autoskip [Service] #User=YOUR_USER #Group=YOUR_USER_GROUP Type=simple Environment=LC_ALL=C.UTF-8 Environment=LANG=C.UTF-8 WorkingDirectory=/usr/local/pas ExecStart=/usr/bin/python3 /usr/local/pas/main.py Restart=always RestartSec=10 [Install] WantedBy=default.target
sudo systemctl --system daemon-reload
sudo systemctl enable PlexAutoSkip.service
sudo systemctl start PlexAutoSkip.service
sudo journalctl -f -u PlexAutoSkip.service
感谢 DevMan01 的撰写。
There was an error while loading. Please reload this page.