2 Description=Hedgedoc real-time collaborative markdown editor
8 Environment=NODE_ENV=production
16 WorkingDirectory=/usr/share/webapps/hedgedoc
17 ExecStart=/usr/bin/node app.js
19 CapabilityBoundingSet=
25 ProtectControlGroups=true
26 ProtectKernelTunables=true
27 ProtectKernelModules=true
28 ProtectKernelLogs=true
35 RestrictNamespaces=true
36 RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
41 ReadWritePaths=/var/lib/hedgedoc /run/hedgedoc
43 SystemCallArchitectures=native
44 SystemCallFilter=@system-service @pkey
47 WantedBy=multi-user.target