You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
[Unit]Description=CryptPad API server
[Service]ExecStart=/home/cryptpad/.nvm/versions/node/v12.14.0/bin/node /home/cryptpad/cryptpad/server.js# modify to match the location of your cryptpad repositoryWorkingDirectory=/home/cryptpad/cryptpad
Restart=always# Restart service after 10 seconds if node service crashesRestartSec=2
# Output to syslogStandardOutput=syslogStandardError=syslogSyslogIdentifier=cryptpadUser=cryptpadGroup=cryptpad# modify to match your working directoryEnvironment='PWD="/home/cryptpad/cryptpad/cryptpad"'
# systemd sets the open file limit to 4000 unless you override it# cryptpad stores its data with the filesystem, so you should increase this to match the value of `ulimit -n`# or risk EMFILE errors.LimitNOFILE=1000000
[Install]WantedBy=multi-user.target
|