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” :
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.. How complicated things are becoming 🙂
- 2015/03/13 Fedora/Ubuntu issue with assigned IP by dhcp server.
- 2015/01/30 speedtest cli
- 2015/01/14 colorize your logs
- 2014/11/10 nomacs – light weight image viewer
- 2014/06/30 tlp – optimize and maximize your battery power.