Get rid of obsolete start instruction

This commit is contained in:
Sander van der Burg 2020-11-25 21:29:37 +01:00 committed by Sander van der Burg
parent 40179fb02c
commit 5ab68c5b55
1 changed files with 1 additions and 10 deletions

View File

@ -28,7 +28,7 @@ createManagedProcess rec {
fi
'';
process = "${postgresql}/bin/postgres";
foregroundProcess = "${postgresql}/bin/postgres";
args = [ "-D" dataDir "-p" port "-k" socketDir ];
credentials = {
@ -48,15 +48,6 @@ createManagedProcess rec {
overrides = {
sysvinit = {
runlevels = [ 3 4 5 ];
instructions.start = {
activity = "Starting";
instruction = ''
${initialize}
${postgresql}/bin/pg_ctl -D ${dataDir} -o "-p ${toString port} -k ${socketDir}" start
'';
};
};
};
}