aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2017-04-23 16:41:14 +0200
committerneodarz <neodarz@neodarz.net>2017-04-23 16:41:14 +0200
commit4e189e50aa35383bea91efcd27f81b8640796910 (patch)
tree71cc102acfadd7321c6db7d8e51f6b7b0ea2ec60
parent19ab90f1b47ca493b698023677aedbb6319239a1 (diff)
downloaddotfiles_ascii-4e189e50aa35383bea91efcd27f81b8640796910.tar.xz
dotfiles_ascii-4e189e50aa35383bea91efcd27f81b8640796910.zip
Add new aria conf file
Diffstat (limited to '')
-rw-r--r--aria2/.config/aria2/aria2.conf2
-rw-r--r--services/aria2d.service9
2 files changed, 11 insertions, 0 deletions
diff --git a/aria2/.config/aria2/aria2.conf b/aria2/.config/aria2/aria2.conf
new file mode 100644
index 0000000..24a7008
--- /dev/null
+++ b/aria2/.config/aria2/aria2.conf
@@ -0,0 +1,2 @@
+dir=/home/neodarz/Downloads
+rpc-secret=8NuPEM8g6O1vBf6uLyWrcdGFKkI-vBTS
diff --git a/services/aria2d.service b/services/aria2d.service
new file mode 100644
index 0000000..4980e3a
--- /dev/null
+++ b/services/aria2d.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Aria2 Service
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/aria2c --enable-rpc --rpc-listen-all --rpc-allow-origin-all --save-session %h/.config/aria2/session.lock --input-file %h/.config/aria2/session.lock --conf-path=%h/.config/aria2/aria2.conf
+
+[Install]
+WantedBy=multi-user.target