hedgedoc: use global yarn in systemd unit
All checks were successful
kunsi/bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Sophie Schiller 2022-04-11 00:34:56 +02:00
parent e76e48604e
commit 5979d8a1f9

View file

@ -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