status-go/_assets/systemd/mailserver/service.template
Jakub Sokołowski 42baf2251d expose the mailserver metrics port by default
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-04-08 17:08:49 +02:00

19 lines
375 B
Plaintext

[Unit]
Description=Status.im Mailserver Service
[Service]
Type=notify
Restart=on-failure
WatchdogSec=60s
WorkingDirectory=${DATA_PATH}
ExecStart=${GIT_ROOT}/build/bin/statusd \
-log-without-color \
-log="${LOG_LEVEL}" \
-metrics \
-metrics-port=${METRICS_PORT} \
-c="${DATA_PATH}/config.json" \
-dir="${DATA_PATH}"
[Install]
WantedBy=default.target