From 8a7eb9d54bd903c598e0debc65895daec3fa04de Mon Sep 17 00:00:00 2001 From: Rob Austein <sra@hactrn.net> Date: Tue, 3 Sep 2019 19:47:16 +0000 Subject: Supply pointer to APT instructions, fix minor doc nits. --- startup.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'startup.sh') diff --git a/startup.sh b/startup.sh index 83765c4..1a0750c 100755 --- a/startup.sh +++ b/startup.sh @@ -1,13 +1,11 @@ #!/bin/sh - # # Startup script for rpki-rp running under Docker. -# -# This assumes that cron is already running, and that this script is running as root. -# Most likely this script is running under cron as a @reboot action. # Start non-RPKI daemons. postgresql in particular needs to be up -# before the RPKI code so that we can check the database and configure -# it if necessary. +# before the running the rpki-rp postinst script, so that postinst can +# look for the database, configure it if necessary, perform database +# migrations, et cetera. for i in rsyslog postgresql xinetd apache2 do @@ -20,6 +18,6 @@ done dpkg --configure --pending -# The rest of rpki-rp runs under cron +# The rest of rpki-rp runs under cron. exec /usr/sbin/cron -f -L 15 -- cgit v1.2.3