From 4e189e50aa35383bea91efcd27f81b8640796910 Mon Sep 17 00:00:00 2001
From: neodarz <neodarz@neodarz.net>
Date: Sun, 23 Apr 2017 16:41:14 +0200
Subject: Add new aria conf file

---
 aria2/.config/aria2/aria2.conf | 2 ++
 services/aria2d.service        | 9 +++++++++
 2 files changed, 11 insertions(+)
 create mode 100644 aria2/.config/aria2/aria2.conf
 create mode 100644 services/aria2d.service

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
-- 
cgit v1.2.1