aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--INSTALL15
1 files changed, 13 insertions, 2 deletions
diff --git a/INSTALL b/INSTALL
index cdb1663..4a364e4 100644
--- a/INSTALL
+++ b/INSTALL
@@ -300,9 +300,20 @@ you can use 'systemctl edit' instead of mkdir and cat):
Requires=postgresql.service
After=postgresql.service
^D
+
+# mkdir -p /etc/systemd/system/postgresql.service.d/
+# cat >/etc/systemd/system/postgresql.service.d/apache2.conf
+[Unit]
+Wants=apache2.service
+^D
+
# systemctl daemon-reload
-# systemctl cat apache2 # Verify override is listed.
-# systemctl restart apache2 # Verify the service still works.
+# systemctl cat apache2 # Verify override is listed.
+# systemctl cat postgresql # Verify override is listed.
+# systemctl stop postgresql
+# systemctl status apache2 # Verify stopped.
+# systemctl start postgresql
+# systemctl status apache2 # Verify started.
7. Optimize CSS