aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2020-06-17 18:27:33 +0100
committerMatthew Somerville <matthew@mysociety.org>2020-06-17 18:27:33 +0100
commit6d3ab9722b91e4929d01d168dfc0dc0916a8b542 (patch)
tree57858ae2330e0ed1eeda48ef442be8681febdcb3
parent9553c8daac73f06af704a87ace7294f751a77b8f (diff)
Include -p in systemd mkdir command.
-rw-r--r--conf/systemd.example2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf/systemd.example b/conf/systemd.example
index 1f8edf13c..7f22b091a 100644
--- a/conf/systemd.example
+++ b/conf/systemd.example
@@ -7,7 +7,7 @@ After=network.target
Type=forking
User=fms
PIDFile=/var/www/fixmystreet/fixmystreet.pid
-ExecStartPre=mkdir /var/www/fixmystreet/logs
+ExecStartPre=/bin/mkdir -p /var/www/fixmystreet/logs
ExecStart=/var/www/fixmystreet/fixmystreet/script/server \
--port 9000 \
--env deployment \