summaryrefslogtreecommitdiff
path: root/init.d
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2024-07-15 14:04:10 -0700
committerIvan Kohler <ivan@freeside.biz>2024-07-15 14:04:10 -0700
commitd7d595017893aa3c4ffa23ca56d85de1dd68e5ed (patch)
tree607b1d0ccabdb1559ec41d28c8377c18d536a8f0 /init.d
parent400a6a7ef33be86a658c9b18ebd66acd65a0e9af (diff)
systemd: start apache after postgresql
Diffstat (limited to 'init.d')
-rw-r--r--init.d/insserv-override-apache211
-rw-r--r--init.d/systemd-apache-override.conf2
2 files changed, 2 insertions, 11 deletions
diff --git a/init.d/insserv-override-apache2 b/init.d/insserv-override-apache2
deleted file mode 100644
index 1b333e806..000000000
--- a/init.d/insserv-override-apache2
+++ /dev/null
@@ -1,11 +0,0 @@
-### BEGIN INIT INFO
-# Provides: apache2
-# Required-Start: $local_fs $remote_fs $network $syslog $named
-# Required-Stop: $local_fs $remote_fs $network $syslog $named
-# Default-Start: 2 3 4 5
-# Default-Stop: 0 1 6
-# X-Interactive: true
-# Short-Description: Start/stop apache2 web server
-# Should-Start: postgresql mysql
-# Should-Stop: postgresql mysql
-### END INIT INFO
diff --git a/init.d/systemd-apache-override.conf b/init.d/systemd-apache-override.conf
new file mode 100644
index 000000000..ad478e133
--- /dev/null
+++ b/init.d/systemd-apache-override.conf
@@ -0,0 +1,2 @@
+[Unit]
+After=postgresql.service