summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-08-28 18:23:59 -0500
committerJeff Carr <[email protected]>2025-08-28 19:30:59 -0500
commitd42b2e8666c428336cf2f0dd290327c574f6566a (patch)
tree041147c04b08beb5426061981ef73a0a129fdbff /Makefile
parent906d50a771292652e896496708e247fe4be695fa (diff)
add --daemon
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 760b411..90c57fe 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ BUILDTIME = $(shell date +%Y.%m.%d_%H%M)
all: install
forged merge
- forged list
+ forged
build: goimports
GO111MODULE=off go build \
@@ -43,6 +43,8 @@ run: build
prod: build
make stop
cp forged /usr/bin/forged
+ cp -a forged.service /lib/systemd/system/forged.service
+ systemctl daemon-reload
make start
journalctl -n 10 -xeu forged.service