use more descriptive names for systemd services

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2020-01-08 13:40:08 +01:00 committed by Jakub
parent fc841f884a
commit d29c6aad50
2 changed files with 6 additions and 6 deletions

View File

@ -18,13 +18,13 @@ SERVICE_DIR := /etc/systemd/system/
endif endif
# Settings # Settings
export SERVICE_NAME ?= bootnode export SERVICE_NAME ?= status-go-bootnode
export SERVICE_PATH ?= $(SERVICE_DIR)/$(SERVICE_NAME).service export SERVICE_PATH ?= $(SERVICE_DIR)/$(SERVICE_NAME).service
export LOG_LEVEL ?= 3 export DATA_PATH ?= /var/tmp/$(SERVICE_NAME)
export LISTEN_PORT ?= 30303
export DATA_PATH ?= /var/tmp/status-go-boot
export KEY_PATH ?= $(DATA_PATH)/nodekey export KEY_PATH ?= $(DATA_PATH)/nodekey
export ADDR_PATH ?= $(DATA_PATH)/nodeaddr export ADDR_PATH ?= $(DATA_PATH)/nodeaddr
export LOG_LEVEL ?= 3
export LISTEN_PORT ?= 30303
# Necessary to make bootnode available publicly # Necessary to make bootnode available publicly
export PUBLIC_IP ?= $(shell curl -s https://ipecho.net/plain) export PUBLIC_IP ?= $(shell curl -s https://ipecho.net/plain)

View File

@ -18,12 +18,12 @@ SERVICE_DIR := /etc/systemd/system/
endif endif
# Settings # Settings
export SERVICE_NAME ?= statusd export SERVICE_NAME ?= status-go-mailserver
export SERVICE_DIR ?= $(HOME)/.config/systemd/user/ export SERVICE_DIR ?= $(HOME)/.config/systemd/user/
export SERVICE_PATH ?= $(SERVICE_DIR)/$(SERVICE_NAME).service export SERVICE_PATH ?= $(SERVICE_DIR)/$(SERVICE_NAME).service
export DATA_PATH ?= /var/tmp/$(SERVICE_NAME)
export LOG_LEVEL ?= INFO export LOG_LEVEL ?= INFO
export LISTEN_PORT ?= 30303 export LISTEN_PORT ?= 30303
export DATA_PATH ?= /var/tmp/status-go-mail
# Necessary to make mailserver available publicly # Necessary to make mailserver available publicly
export PUBLIC_IP ?= $(shell curl -s https://ipecho.net/plain) export PUBLIC_IP ?= $(shell curl -s https://ipecho.net/plain)