Message ID | 20160715044628.11666-1-ruscur@russell.cc |
---|---|
State | Accepted |
Headers | show |
On 15 Jul 14:46, Russell Currey wrote: > 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 <ruscur@russell.cc> Reviewed-by: Stephen Finucane <stephen.finucane@intel.com> ...and merged.
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
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 <ruscur@russell.cc> --- docs/deployment.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)