aboutsummaryrefslogtreecommitdiffstats
path: root/testing/qbittorrent-nox/qbittorrent-nox.initd
blob: cac8e5e3415d32a77e63e2163676a8406c296e29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/sbin/openrc-run

# init.d file for qbittorrent-nox.

name=qbittorrent-nox
user=qbittorrent
group=qbittorrent
command="/usr/bin/$name"
command_args="-d $qbittorrent_opts"

start_stop_daemon_args="--user $user:$group"

depend() {
	need net
	after firewall
}