status-go/_assets/systemd/bootnode/service.template
Jakub Sokołowski 429d2b4291 create a Makefile for running a bootnode under systemd
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-12-04 13:44:05 +01:00

16 lines
293 B
Plaintext

[Unit]
Description=Status.im Bootnode Service
[Service]
Type=fork
Restart=on-failure
WatchdogSec=60s
WorkingDirectory=${DATA_PATH}
ExecStart=${GIT_ROOT}/build/bin/bootnode \
-verbosity=${LOG_LEVEL} \
-nodekey=${KEY_PATH} \
-addr=:${LISTEN_PORT}
[Install]
WantedBy=default.target