[Ubuntu]transmission, qbittorrent-nox的service文件位于哪里

 

transmission-daemon.service
一般位于
/usr/lib/systemd/system

 

qbittorrent-nox.service
一般位于
/etc/systemd/system

 需要自己创建,如何创建?见下面链接

https://www.reddit.com/r/qBittorrent/comments/uiv2o7/how_to_run_qbittorrentnox_at_startup/

 

[Unit]
Description=qBittorrent Command Line Client
After=network.target

[Service]
#Do not change to "simple"
Type=forking
User=pi
Group=pi
UMask=007
ExecStart=/usr/bin/qbittorrent-nox -d --webui-port=8080
Restart=on-failure

[Install]
WantedBy=multi-user.target

 

posted @ 2024-01-23 02:13  profesor  阅读(53)  评论(0编辑  收藏  举报