From 951ec02c52d7f4e12e0675f6d23a655bfa75a14b Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 26 May 2017 18:12:39 +0100 Subject: [PATCH] Full path --- src/freedombone-app-cryptpad | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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