1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
[Unit] Description=CryptPad service After=network.target [Service] ExecStart=/usr/bin/node /usr/share/webapps/cryptpad/server.js WorkingDirectory=/usr/share/webapps/cryptpad User=cryptpad Group=cryptpad ReadWritePaths=/var/lib/cryptpad ProtectHome=yes NoNewPrivileges=yes PrivateTmp=yes [Install] WantedBy=multi-user.target