Arch Linux - How to pass arguments to daemon in rc.conf [closed]
Pregunta
If I add a daemon to rc.conf, how can I then pass arguments to it?
Eg
DAEMONS = (sshd mongodb ...)
How can I pass --replSet
to the mongodb
daemon?
Solución
I don't think you pass anything, it calls the daemon from /etc/rc.d/ so you'd edit that script with the args.
EDIT: here are some links that explain:
Otros consejos
You should try to set this behaviour in /etc/mongodb.conf
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow