The uwsgi service command didn't work without root, fix it by running the entire expression under a shell with root privileges.
Signed-off-by: Russell Currey <rus...@russell.cc> --- docs/deployment.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/deployment.md b/docs/deployment.md index 73282f9..e7b6004 100644 --- a/docs/deployment.md +++ b/docs/deployment.md @@ -290,7 +290,7 @@ boots, in addition to any time it may fail. We can automate this process using systemd. To this end a [systemd unit file][ref-uwsgi-systemd] should be created to start uWSGI at boot: - $ sudo cat << EOF > /etc/systemd/system/uwsgi.service + $ sudo sh -c "cat >/etc/systemd/system/uwsgi.service" <<'EOF' [Unit] Description=uWSGI Emperor service -- 2.9.0 _______________________________________________ Patchwork mailing list Patchwork@lists.ozlabs.org https://lists.ozlabs.org/listinfo/patchwork