diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2019-05-20 19:59:32 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2019-05-20 20:01:06 -0400 |
commit | 7c3ee0f1e949f35712ffcfc399b900576c0c81a7 (patch) | |
tree | 6ec558857de1af90fcd6def30e64184fd10de605 /scripts/install-ubuntu-18.04.sh | |
parent | ad12ffa981c693082a159ea2fe5cb18aaed0a377 (diff) | |
download | kutter-7c3ee0f1e949f35712ffcfc399b900576c0c81a7.tar.gz kutter-7c3ee0f1e949f35712ffcfc399b900576c0c81a7.tar.xz kutter-7c3ee0f1e949f35712ffcfc399b900576c0c81a7.zip |
scripts: Use /tmp/klippy.log in install-ubuntu-18.04.sh
Use /tmp/klippy.log in the install script - all the documentation
currently uses that file location.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'scripts/install-ubuntu-18.04.sh')
-rwxr-xr-x | scripts/install-ubuntu-18.04.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/install-ubuntu-18.04.sh b/scripts/install-ubuntu-18.04.sh index e21bd142..4d2992be 100755 --- a/scripts/install-ubuntu-18.04.sh +++ b/scripts/install-ubuntu-18.04.sh @@ -47,9 +47,8 @@ create_virtualenv() install_script() { # Create systemd service file - KLIPPER_LOG=/var/log/klippy.log + KLIPPER_LOG=/tmp/klippy.log report_status "Installing system start script..." - sudo touch $KLIPPER_LOG && sudo chown $KLIPPER_USER:$KLIPPER_GROUP $KLIPPER_LOG sudo /bin/sh -c "cat > $SYSTEMDDIR/klipper.service" << EOF #Systemd service file for klipper [Unit] |