Tagged Questions
4
votes
3answers
239 views
How to manually restart services affected by apt upgrades?
How can I issue apt upgrades without automatically stopping/starting daemons? I'd like to manually restart services.
To cite a specific example:
I'll revisit a long-running machine and run sudo ...
1
vote
1answer
267 views
How do I start the postgreSQL service upon boot?
I am running PostgreSQL (v 8.4) on Ubuntu 10.0.4.
The PG service currently starts on reboot (after I installed PG on my machine), however, I want the service to use a new data directory.
...
5
votes
4answers
2k views
What is the difference between “service restart” and “service reload”
I'm trying to understand the difference between service restart [someservice] and service reload [someservice]. I understand that "restart" restarts the service whereas "reload" reloads the ...
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 ...