diff options
author | xmengnet | 2021-04-18 22:36:44 +0800 |
---|---|---|
committer | xmengnet | 2021-04-18 22:36:44 +0800 |
commit | 890ad6d01c5e7af091a51ceeb62408e86a6f5e71 (patch) | |
tree | 4ebdab30ae86088ee0bd212ef91cd90f0c8a0174 /aria2c.service | |
download | aur-890ad6d01c5e7af091a51ceeb62408e86a6f5e71.tar.gz |
aria2-config-script
Diffstat (limited to 'aria2c.service')
-rwxr-xr-x | aria2c.service | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/aria2c.service b/aria2c.service new file mode 100755 index 000000000000..a8bbfba32901 --- /dev/null +++ b/aria2c.service @@ -0,0 +1,16 @@ +[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 +StandOutput=syslog + +StandError=inherit + +[Install] +WantedBy=multi-user.target |