Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

transmissiond service

  • Loading branch information...
commit 29c3e5bc37d08ffcd7ed7997c6024ffc728441d9 1 parent b58112d
@baverman authored
Showing with 18 additions and 0 deletions.
  1. +2 −0  conf.d/transmissiond
  2. +16 −0 init.d/transmissiond
View
2  conf.d/transmissiond
@@ -0,0 +1,2 @@
+#TRANSMISSION_ARGS="-c /home/user/torrents"
+#TRANSMISSION_USER=
View
16 init.d/transmissiond
@@ -0,0 +1,16 @@
+#!/sbin/runscript
+
+name="transmissiond"
+description="Transmission daemon"
+command="/usr/bin/transmission-daemon"
+command_args="-f $TRANSMISSION_ARGS"
+command_background="yes"
+start_stop_daemon_args="--user ${TRANSMISSION_USER:-transmission}"
+pidfile="/run/$name.pid"
+
+depend()
+{
+ need localmount
+ use net
+}
+
Please sign in to comment.
Something went wrong with that request. Please try again.