From c6ee191264826b945a5df600cd2dcd48e8f4b9cf Mon Sep 17 00:00:00 2001 From: Gabx Date: Mon, 9 May 2016 09:06:20 +0200 Subject: [PATCH 1/2] rewrite geth systemd service file --- geth-systemd-service.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/geth-systemd-service.md b/geth-systemd-service.md index c54d46f..06d5a6f 100644 --- a/geth-systemd-service.md +++ b/geth-systemd-service.md @@ -4,9 +4,9 @@ [Unit] Description=Ethereum go client + [Service] -Type=simple -ExecStart=geth 2>%h/.ethereum/geth.log +ExecStart=/usr/bin/geth $ARGS [Install] WantedBy=default.target From 6aca8857fa8c3089746c5c826d27bf44191d9ac7 Mon Sep 17 00:00:00 2001 From: Gabx Date: Mon, 9 May 2016 09:07:41 +0200 Subject: [PATCH 2/2] add EnvironmentFile --- geth-systemd-service.md | 1 + 1 file changed, 1 insertion(+) diff --git a/geth-systemd-service.md b/geth-systemd-service.md index 06d5a6f..972e3f8 100644 --- a/geth-systemd-service.md +++ b/geth-systemd-service.md @@ -6,6 +6,7 @@ Description=Ethereum go client [Service] +EnvironmentFile=%h/.ethereum/geth.conf ExecStart=/usr/bin/geth $ARGS [Install]