summarylogtreecommitdiffstats
path: root/aria2@.service
diff options
context:
space:
mode:
authorzhanghua0002021-09-02 17:13:56 +0800
committerzhanghua0002021-09-02 17:13:56 +0800
commit2b04710eb515edd4fcf80c704341f4062ce34b12 (patch)
tree89611d73e36620c61e76ccf6f03dc15db6905324 /aria2@.service
downloadaur-2b04710eb515edd4fcf80c704341f4062ce34b12.tar.gz
First Update
Diffstat (limited to 'aria2@.service')
-rw-r--r--aria2@.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/aria2@.service b/aria2@.service
new file mode 100644
index 000000000000..584779f987cb
--- /dev/null
+++ b/aria2@.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Aria2c Daemon
+Requires=network.target
+After=network-online.target
+
+[Service]
+Type=forking
+User=%i
+ExecStart=/usr/bin/aria2c --daemon=true
+ExecReload=/usr/bin/kill -HUP ${MAINPID}
+
+[Install]
+WantedBy=multi-user.target