aboutsummaryrefslogtreecommitdiff
path: root/services/aria2d.service
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--services/aria2d.service9
1 files changed, 9 insertions, 0 deletions
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