Run program in UNIX and make pidfile for it
We sometime want to run a program and after than stop it.
For example, at boot time, we start an selenium. But after that, we want to stop it.
»We sometime want to run a program and after than stop it.
For example, at boot time, we start an selenium. But after that, we want to stop it.
»This article is what I learn about config PostgreSQL server and set its authentication up.
»This is another post about using Vagrant to set up development environment in your local machine. Please consider to read previous post about setup vagrant for one VM.
»In DEBIAN, when we want to add new start up item, we create new script file in /etc/init.d and using update-rc.d to add it. But in Mac OSX, there is not /etc/init.d and update-rc.d anymore.
»It ’s so inconvenience when everytime you want to access psql
, you
need to enter your so long password
Today, i learnt how to remove this step by using environment variable
PGPASSWORD