From 850f81307907797a58ac200c7b82a15e5dc18992 Mon Sep 17 00:00:00 2001 From: Markus Hauschild Date: Mon, 4 Jun 2018 15:59:11 +0200 Subject: [PATCH] hackmd: fix service file (missing working dir) --- roles/hackmd/templates/hackmd.service.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/hackmd/templates/hackmd.service.j2 b/roles/hackmd/templates/hackmd.service.j2 index 157357a..16d4d0c 100644 --- a/roles/hackmd/templates/hackmd.service.j2 +++ b/roles/hackmd/templates/hackmd.service.j2 @@ -4,6 +4,7 @@ After=network.target [Service] Environment=NODE_ENV=production +WorkingDirectory=/opt/hackmd-{{hackmd_version}} Type=simple User=hackmd ExecStart=/usr/bin/node /opt/hackmd-{{hackmd_version}}/app.js