Hi,
postgres will einfach nicht automatisch starten. Wenn ich "/etc/init.d/postgres-8.3 start" manuell ausführe klappt es. Der Dienst wird in rc0.d, rc1.d und rc6.d gestoppt und in rc2.d, rc3.d, rc4.d und rc5.d gestartet. In rcS.d ist er nicht drin.
Hier das default Script:
#!/bin/sh -e ### BEGIN INIT INFO # Provides: postgresql postgresql-8.3 # Required-Start: $local_fs $remote_fs $network $time # Required-Stop: $local_fs $remote_fs $network $time # Should-Start: $syslog # Should-Stop: $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: PostgreSQL 8.3 RDBMS server ### END INIT INFO # Setting environment variables for the postmaster here does not work; please # set them in /etc/postgresql/8.3/<cluster>/environment instead. [ -r /usr/share/postgresql-common/init.d-functions ] || exit 0 . /usr/share/postgresql-common/init.d-functions VERSION=8.3
Muss ich es einfach in rcS.d eintragen?