Full path
This commit is contained in:
parent
9ad05b9515
commit
951ec02c52
|
@ -485,7 +485,7 @@ function install_cryptpad {
|
||||||
echo 'User=cryptpad' >> /etc/systemd/system/cryptpad.service
|
echo 'User=cryptpad' >> /etc/systemd/system/cryptpad.service
|
||||||
echo 'Group=cryptpad' >> /etc/systemd/system/cryptpad.service
|
echo 'Group=cryptpad' >> /etc/systemd/system/cryptpad.service
|
||||||
echo "WorkingDirectory=$CRYPTPAD_DIR" >> /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 'Restart=on-failure' >> /etc/systemd/system/cryptpad.service
|
||||||
echo '' >> /etc/systemd/system/cryptpad.service
|
echo '' >> /etc/systemd/system/cryptpad.service
|
||||||
echo '[Install]' >> /etc/systemd/system/cryptpad.service
|
echo '[Install]' >> /etc/systemd/system/cryptpad.service
|
||||||
|
|
Loading…
Reference in New Issue