aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGravatar jesopo2019-09-27 17:51:47 +0100
committerGravatar jesopo2019-09-27 17:51:47 +0100
commit83c14cf4d67218e8bb651770d21dd8db347cbd1a (patch)
tree2906b827c912cb7b4ece75443a15a545e70fe60b /docs
parentadd per-httpd rest_api info (diff)
signature
add "as root" after `service x restart` lines
Diffstat (limited to 'docs')
-rw-r--r--docs/help/rest_api.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/help/rest_api.md b/docs/help/rest_api.md
index 3843efb7..7a8cf60e 100644
--- a/docs/help/rest_api.md
+++ b/docs/help/rest_api.md
@@ -10,15 +10,15 @@ Either set up a reverse proxy (with persisted Host header) with your favourite H
#### Nginx
* Copy example config file from [/docs/rest_api/nginx](/docs/rest_api/nginx) to `/etc/nginx/sites-enabled`
* Edit `server-name`, `ssl_certificate` and `ssl_certificate_key`
-* `$ service nginx restart`
+* `$ service nginx restart` as root
#### Apache2
* Run `$ a2enmod ssl proxy proxy_http` as root
* Copy example config file from [/docs/rest_api/apache2](/docs/rest_api/apache2) to `/etc/apache2/sites-enabled/`
* Edit `ServerName`, `SSLCertificateFile and `SSLCertificateKeyFile`
-* `$ service apache2 restart`
+* `$ service apache2 restart` as root
#### Lighttpd
* Copy example config file from [/docs/rest_api/lighttpd](/docs/rest_api/lighttpd) to `/etc/lighttpd/lighttpd.conf`
* Edit `ssl.ca-file`, `ssl.pemfile` and `ssl.privkey`
-* `$ service lighttpd restat`
+* `$ service lighttpd restat` as root