PID File for squid in Fedora – 21 ( Fedora.next)

2015-03-24 1 min read Fedora Gnome
So, the other day, I wanted to have squid store its pid in the regular ‘var/run’ directory. Good simple enough – just add the following to “/etc/squid/squid.conf” : pid_filename /var/run/squid/squid.pid and create the /var/run/squid directory. Simple, hold on not so fast. Reboot and psssst.. ‘/var/run/squid’ is gone. Finally found that /var/run is handled by systemd-tmpfiles and thus you need to do this as well: cat <>/lib/tmpfiles.d/squid.conf d /run/squid 700 squid squid EOF So, basically you need to tell tmpfiles to create the squid directory as well. Continue reading

IRC on Linux de-mystified for new users only

2010-06-15 2 min read Linux
The other day, I was trying to fix something in my firefox and found that the way to go was to login to IRC and go to the mozilla <a class="zem_slink freebase/en/server" title="Server (computing)" rel="wikipedia" href="http://en.wikipedia.org/wiki/Server_%28computing%29">server and join #firefox. Though IRC is quite native to <a class="zem_slink freebase/en/linux" title="Linux" rel="wikipedia" href="http://en.wikipedia.org/wiki/Linux">Linux, I did not know where to start. So, I noted down the list of steps that need to be done to get you started. Continue reading