From fdbe950483d77a019b20ab71583e9591067f2cac Mon Sep 17 00:00:00 2001 From: Ilya Dmitrichenko Date: Tue, 6 Oct 2015 15:21:06 +0100 Subject: [PATCH] Fix #1509 --- site/systemd.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/site/systemd.md b/site/systemd.md index 9f366fc2..1d50086c 100644 --- a/site/systemd.md +++ b/site/systemd.md @@ -23,8 +23,7 @@ normally place it in `/etc/systemd/system/weave.service`. [Service] EnvironmentFile=-/etc/sysconfig/weave ExecStartPre=/usr/local/bin/weave launch $PEERS - ExecStart=/usr/bin/docker logs -f weave - SuccessExitStatus=2 + ExecStart=/usr/bin/docker attach -f weave ExecStop=/usr/local/bin/weave stop [Install] WantedBy=multi-user.target