status-go/_assets/systemd/mailserver/service.template
Jakub Sokołowski ccf3cd5098 add missing jq checks, make formatting vars the same
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-12-21 09:16:54 +01:00

18 lines
339 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}" \
-dir "${DATA_PATH}" \
-c "${DATA_PATH}/config.json" \
-metrics
[Install]
WantedBy=default.target