for example, rc.d-script from net-p2p/transmission-daemon.
For some reasons, i don't need start it at boot.
In rc.conf set:
In freebsd 8.4
works fine.
In 11 I got error:
It's because it tries to set limits (line 1075 in rc.subr 299349), that's not allowed for non-privileged users.
How I can disable this in that script?
For some reasons, i don't need start it at boot.
In rc.conf set:
Code:
transmission_user="plague"
$ /usr/local/etc/rc.d/transmission onestart
works fine.
In 11 I got error:
Code:
limits: setrlimit datasize: Operation not permitted
Code:
# Prepend default limits
_doit="limits -C $_login_class $_doit"