Tagged Questions
4
votes
2answers
67 views
Why is there a shell given to user for PostgreSQL?
cat /etc/passwd |grep postgre
postgres:x:115:127:PostgreSQL administrator,,,:/var/lib/postgresql:/bin/bash
apt-cache show postgresql
Package: postgresql
Priority: optional
Section: database
...
0
votes
0answers
1k views
Pgagent startup script (under the postgres user) [closed]
I'm trying to make a clean startup script for pgagent
I found one here that use start-stop-daemon :
if start-stop-daemon --start --quiet --pidfile /var/run/pgagent.pid \
--exec /usr/bin/pgagent ...