status-go/_assets/systemd/mailserver/service.template
Jakub Sokołowski e139af9a16 rewrite mailserver systemd setup to a Makefile
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-12-04 13:44:05 +01:00

18 lines
328 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 "./config.json" \
-metrics
[Install]
WantedBy=default.target