diff --git a/src/freedombone-app-cryptpad b/src/freedombone-app-cryptpad index 66607ae4..39891ad5 100755 --- a/src/freedombone-app-cryptpad +++ b/src/freedombone-app-cryptpad @@ -485,7 +485,7 @@ function install_cryptpad { echo 'User=cryptpad' >> /etc/systemd/system/cryptpad.service echo 'Group=cryptpad' >> /etc/systemd/system/cryptpad.service echo "WorkingDirectory=$CRYPTPAD_DIR" >> /etc/systemd/system/cryptpad.service - echo "ExecStart=/usr/local/bin/node ./server.js" >> /etc/systemd/system/cryptpad.service + echo "ExecStart=/usr/local/bin/node $CRYPTPAD_DIR/server.js" >> /etc/systemd/system/cryptpad.service echo 'Restart=on-failure' >> /etc/systemd/system/cryptpad.service echo '' >> /etc/systemd/system/cryptpad.service echo '[Install]' >> /etc/systemd/system/cryptpad.service