nick2012
Contributor
then how to set something at startup??Does systemd work with OXNAS? I thought it didn't?
tried putting in daemons brackets but no use
then how to set something at startup??Does systemd work with OXNAS? I thought it didn't?
Ahh this rc.d command says passrc.d start transmissiond
Devs says they have backported systemd for OXNAS
Putting transmissiond in DAEMONS should work , if not put
inCode:rc.d start transsmissiond
Code:/etc/rc.local
Though i don't it either since i autostart programs by udev rules
P.S - Don't do anything blindly i simple error can let you pull your hair.
^
pyLoad installation done. Here are the steps
Code:pacman -Sy python2 python-pycurl
Create a symbolic link for python to python2
Code:ln -s /usr/bin/python2 /usr/bin/python
Download and extract the pyLoad source package
Code:wget [url]http://download.pyload.org/pyload-src-v0.4.8.zip[/url] unzip pyload-src-v0.4.8.zip
Go to the folder in which pyLoad was extracted and run
Code:python pyLoadCore.py -s
Set the download path and login data etc. When it asks for type of webserver, choose 'threaded'
Now create a file /etc/rc.d/pyLoadCored and add the following
Code:#!/bin/bash . /etc/rc.conf . /etc/rc.d/functions USER=root PIDFILE=/home/$USER/.pyload/pyload.pid case "$1" in start) stat_busy "Starting pyLoadCore" su $USER -c '/usr/bin/pyLoadCore --daemon' &> /dev/null if [ $? -gt 0 ]; then stat_fail else add_daemon pyLoadCored stat_done fi ;; stop) stat_busy "Stopping pyLoadCore" # killall -w -s 2 /usr/bin/pyLoadCore &> /dev/null su $USER -c "kill -15 $(cat $PIDFILE) && rm -f $PIDFILE" &> /dev/null if [ $? -gt 0 ]; then stat_fail else rm_daemon pyLoadCored stat_done fi ;; restart) $0 stop sleep 3 $0 start ;; *) echo "usage: $0 {start|stop|restart}" esac exit 0
Make it executable
Code:chmod +x /etc/rc.d/pyLoadCored
If you extracted the pyload files to /home/pyload then run the following command
Code:ln -s /home/pyload/pyLoadCore.py /usr/bin/pyLoadCore
After that edit /etc/rc.conf and in the last line which says 'Daemons' append 'pyLoadCored'. Here is mine as an example
Code:DAEMONS=(set-oxnas-mac !hwclock syslog-ng network netfs crond sshd openntpd webmin transmissiond samba pyLoadCored)
rc.d start pyLoadCored
:: Starting pyLoadCore [FAIL]
Just want 1 http downloading gui based which I was not able to use in rtn13uI'll try to compile it today but trust me its not worth it
[root@alarm package-query]# makepkg
==> ERROR: Running makepkg as root is a BAD idea and can cause permanent,
catastrophic damage to your system. If you wish to run as root, please
use the --asroot option.
[root@alarm package-query]# makepkg --asroot
==> ERROR: package-query is not available for the 'arm' architecture.
Note that many packages may need a line added to their PKGBUILD
such as arch=('arm').
YesWhat are you doing are you using yaourt ?
You need to modify CONFIG to include arm in list of architecture supported , it prompts you when you try to install.
ohk tryingWhen you run yaourt to install the package from aur it prompts you, you need to read things instead of just pressing Enter this is is not windows.
Yes installed it firstlibtorrent is the base class for rtorrent , do you have base-devel installed ? BTW you only need to run pacman -S rtorrent nothing else
I dont think soI'll say again you are not reading it properly , it tells you clearly what you need to do.
WARNING: Building package as root is dangerous.
Please run yaourt as a non-privileged user.
==> ERROR: libtorrent-git is not available for the 'arm' architecture.
Note that many packages may need a line added to their PKGBUILD
such as arch=('arm').
==> ERROR: Makepkg was unable to build libtorrent-git.