From 0953baae509c9f4c0cf228a0681156d122b139ca Mon Sep 17 00:00:00 2001 From: Alvie Rahman Date: Wed, 4 Aug 2021 22:12:38 +0100 Subject: [PATCH] Don't overwrite existing user configs --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1eb88d5..bc09b9c 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ install: go build -o gohookr cp gohookr /usr/local/bin/ cp gohookr.service /usr/lib/systemd/system/ - cp config.json /etc/gohookr.json + cp -n config.json /etc/gohookr.json systemctl daemon-reload systemctl enable --now gohookr