summaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorLibravatar Leonora Tindall <nora@nora.codes>2022-11-19 03:06:37 -0600
committerLibravatar GitHub <noreply@github.com>2022-11-19 10:06:37 +0100
commit2216f253c18491b01efce09d00c5f1962dd74c96 (patch)
tree2999b4764f26cce8768169d481fc2b5b0261125c /example
parent[docs] Remove trailing / from proxy_pass for nginx (#1077) (diff)
downloadgotosocial-2216f253c18491b01efce09d00c5f1962dd74c96.tar.xz
[docs] Move and document logs (#1076)
Rather than a single access log and no error logging, put the logs in /var/log/gotosocial/, and document creating and owning that directory
Diffstat (limited to 'example')
-rw-r--r--example/gotosocial.service4
1 files changed, 2 insertions, 2 deletions
diff --git a/example/gotosocial.service b/example/gotosocial.service
index 297251476..d3da72a84 100644
--- a/example/gotosocial.service
+++ b/example/gotosocial.service
@@ -17,8 +17,8 @@ Restart=on-failure
ExecStart=/gotosocial/gotosocial --config-path config.yaml server start
WorkingDirectory=/gotosocial
-StandardOutput=append:/var/log/gotosocial.log
-StandardError=inherit
+StandardOutput=append:/var/log/gotosocial/access.log
+StandardError=append:/var/log/gotosocial/error.log
# Sandboxing options to harden security