diff options
Diffstat (limited to 'example/gotosocial.service')
| -rw-r--r-- | example/gotosocial.service | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/example/gotosocial.service b/example/gotosocial.service index b59f6b5a6..48d14df8c 100644 --- a/example/gotosocial.service +++ b/example/gotosocial.service @@ -22,6 +22,11 @@ Restart=on-failure # Whatever you do, make sure the dir exists and that the gotosocial user has permission to write + read from it. #Environment="GTS_WAZERO_COMPILATION_CACHE=/gotosocial/.cache" +# If you have set `metrics-enabled` to `true` in your GoToSocial config file, and you want +# to expose Prometheus metrics at localhost:9464/metrics, uncomment the following two lines: +#Environment="OTEL_METRICS_EXPORTER=prometheus" +#Environment="OTEL_METRICS_PRODUCERS=prometheus" + # change if your path to the GoToSocial binary is different ExecStart=/gotosocial/gotosocial --config-path config.yaml server start WorkingDirectory=/gotosocial |
