Commit 617823e3 authored by Daniel Quinn's avatar Daniel Quinn 🍁
Browse files

Use /var/run correctly

parent f8e6246a
......@@ -22,7 +22,6 @@ PUBLIC_KEY="${SSH_HOME}/id_rsa.pub"
mkdir -p ${WEB_ROOT}
mkdir -p /var/db/pizzaplace
mkdir -p /var/run/pizzaplace
mkdir -p /var/spool/pizzaplace/add
mkdir -p /var/spool/pizzaplace/remove
......@@ -181,6 +180,8 @@ Group=pizzaplace
WorkingDirectory=${INSTALL_LOCATION}/src/usr/bin
Restart=always
RestartSec=30
RuntimeDirectory=pizzaplace
RuntimeDirectoryMode=0755
ExecStart=gunicorn3 dispatcher:application --name pizzaplace-dispatcher --workers=1 --log-level=INFO --bind=unix:/var/run/pizzaplace/dispatcher.sock --timeout=30 --user=pizzaplace --group=pizzaplace --pid=/var/run/pizzaplace/disptacher.pid
[Install]
......@@ -255,6 +256,8 @@ User=root
Group=root
Restart=always
RestartSec=30
RuntimeDirectory=pizzaplace
RuntimeDirectoryMode=0755
ExecStart=${INSTALL_LOCATION}/src/usr/bin/kitchen
[Install]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment