From 9e54f11960545e3ff3c3fecbd27fb7079fdf280f Mon Sep 17 00:00:00 2001 From: Christian Schwarz Date: Fri, 25 Oct 2019 16:44:55 +0200 Subject: [PATCH] dist/systemd: fix ssh-transport: create stdinserver runtime directory tested to work on Debian Stretch refs #237 --- dist/systemd/zrepl.service | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dist/systemd/zrepl.service b/dist/systemd/zrepl.service index 9b3628d..d8b5767 100644 --- a/dist/systemd/zrepl.service +++ b/dist/systemd/zrepl.service @@ -4,8 +4,9 @@ Documentation=https://zrepl.github.io [Service] Type=simple +ExecStartPre=/usr/local/bin/zrepl --config /etc/zrepl/zrepl.yml configcheck ExecStart=/usr/local/bin/zrepl --config /etc/zrepl/zrepl.yml daemon -RuntimeDirectory=zrepl +RuntimeDirectory=zrepl zrepl/stdinserver RuntimeDirectoryMode=0700 ProtectSystem=strict