Hi Guys,
I have installed aria2 which is cli http download manager.
I have created /usr/local/etc/rc.d/aria2d with content as below:
And set 777 permission on the file above.
Then I added line below in /etc/rc.conf
aria2d_enable="YES"
So now I can call this daemon with service aria2d start
But, if I restart my jail, the daemon does not start automatically, I always have to do the call manually. Can anyone indicate where is my mistake? Thank you.
I have installed aria2 which is cli http download manager.
I have created /usr/local/etc/rc.d/aria2d with content as below:
Code:
#!/bin/sh . /etc/rc.subr name=aria2d rcvar=aria2d_enable CONF=/usr/local/etc/aria2/aria2.conf command="/usr/local/bin/aria2c" command_args="--conf-path=${CONF} --enable-rpc --rpc-listen-all --daemon" load_rc_config $name run_rc_command "$1"
And set 777 permission on the file above.
Then I added line below in /etc/rc.conf
aria2d_enable="YES"
So now I can call this daemon with service aria2d start
But, if I restart my jail, the daemon does not start automatically, I always have to do the call manually. Can anyone indicate where is my mistake? Thank you.