summarylogtreecommitdiffstats
path: root/aria2c.service
diff options
context:
space:
mode:
Diffstat (limited to 'aria2c.service')
-rwxr-xr-xaria2c.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/aria2c.service b/aria2c.service
new file mode 100755
index 000000000000..74d70c671275
--- /dev/null
+++ b/aria2c.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Aria2c Service
+After=network-online.target
+Wants=network-online.target
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/aria2c --conf-path=/etc/aria2/aria2.conf
+ExecStop=/bin/killall aria2c
+Restart=always
+
+[Install]
+WantedBy=multi-user.target