From 190514597b25373586a6c3165a1642b7575a293b Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Tue, 21 Jul 2020 02:48:41 +0100 Subject: [PATCH] apache restart --- README.txt | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.txt b/README.txt index 4de6a87..2170e61 100644 --- a/README.txt +++ b/README.txt @@ -293,8 +293,14 @@ Alias /static/ /home/expo/static/ Unlike the "runserver" method, apache requires a restart before it will use any changed files: -apache2ctl stop -apache2ctl start +sudo service apache2 restart + +Olly's comments 20 July 2020: +olly: looking at /lib/systemd/system/apache2.service suggests so + +olly: ExecStart=/usr/sbin/apachectl start +olly: ExecStop=/usr/sbin/apachectl stop +olly: ExecReload=/usr/sbin/apachectl graceful Experimental additions ----------------------