[Unit] Description=zrepl daemon 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 zrepl/stdinserver RuntimeDirectoryMode=0700 # Make Go produce coredumps Environment=GOTRACEBACK='crash' [Install] WantedBy=multi-user.target