From 5979d8a1f934f45a6370632eff6a9afb856b0fc6 Mon Sep 17 00:00:00 2001 From: Sophie Schiller Date: Mon, 11 Apr 2022 00:34:56 +0200 Subject: [PATCH] hedgedoc: use global yarn in systemd unit --- bundles/hedgedoc/files/hedgedoc.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/hedgedoc/files/hedgedoc.service b/bundles/hedgedoc/files/hedgedoc.service index 37adb3c..2bd0de4 100644 --- a/bundles/hedgedoc/files/hedgedoc.service +++ b/bundles/hedgedoc/files/hedgedoc.service @@ -12,7 +12,7 @@ Type=exec Environment=NODE_ENV=production Restart=always RestartSec=2s -ExecStart=/opt/hedgedoc/node_modules/yarn/bin/yarn start --production +ExecStart=yarn start --production CapabilityBoundingSet= NoNewPrivileges=true PrivateDevices=true