2019-11-28 22:52:38 +00:00
|
|
|
[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 \
|
2020-04-08 11:24:02 +00:00
|
|
|
-log="${LOG_LEVEL}" \
|
|
|
|
-metrics \
|
|
|
|
-metrics-port=${METRICS_PORT} \
|
|
|
|
-c="${DATA_PATH}/config.json" \
|
|
|
|
-dir="${DATA_PATH}"
|
2019-11-28 22:52:38 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=default.target
|