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 automate the process?
Answer: First of all, copy pandora_agent_daemon
to /etc/init.d
.
Then if you want pandora_agent_daemon
to start with your system boot, just execute:
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