diff options
author | “xmengnet” | 2021-09-19 16:29:55 +0800 |
---|---|---|
committer | “xmengnet” | 2021-09-19 16:29:55 +0800 |
commit | b2fc7f10a2a6b8d28521599741f1bd990a39049c (patch) | |
tree | 91bc1e5976da8e71c2d3c7d0f7fc7095ca3ac531 /aria2c.service | |
parent | 2bc3a3dcfca7bcde68a2d29e277c6e9bc10e9fa7 (diff) | |
download | aur-b2fc7f10a2a6b8d28521599741f1bd990a39049c.tar.gz |
修改bug
Diffstat (limited to 'aria2c.service')
-rwxr-xr-x | aria2c.service | 13 |
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 |