aboutsummaryrefslogtreecommitdiff
path: root/startup.sh
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2019-09-03 19:47:16 +0000
committerRob Austein <sra@hactrn.net>2019-09-03 19:47:16 +0000
commit8a7eb9d54bd903c598e0debc65895daec3fa04de (patch)
tree8dba6b9bc1778a520c7080d5b6f51ef60ba1ed93 /startup.sh
parent75f091a80059ca6c8dc8b2c93ebf16f6effb892d (diff)
Supply pointer to APT instructions, fix minor doc nits.
Diffstat (limited to 'startup.sh')
-rwxr-xr-xstartup.sh10
1 files changed, 4 insertions, 6 deletions
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