Question
I’ve installed the
pandora_agent
on my GNU/Linux system and I want it to run every time the computer starts up, how can I do that automatically?
Answer
First of all, copy pandora_agent_daemon
to /etc/init.d
Then if you want the pandora_agent_daemon
starts in your system boot, just:
ln -s /etc/init.d/pandora_agent_daemon /etc/rcX.d/S99pandora_agent_daemon
Where the X is the run level you’re booting into. Then, to make sure your pandora_agent_daemon
is being correctly switched off when you make a shutdown, or power off:
ln -s /etc/init.d/pandora_agent_daemon /etc/rc0.d/K99pandora_agent_daemon
ln -s /etc/init.d/pandora_agent_daemon /etc/rc6.d/K99pandora_agent_daemon