status-go/_assets/systemd/mailserver/service.template

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