Browse Source

fix sed command to limit disk space for logs

Casey DeLorme 5 years ago
parent
commit
ab411b7827
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch.sh

+ 1 - 1
arch.sh

@@ -189,7 +189,7 @@ echo "PasswordAuthentication no" >> /etc/ssh/sshd_config
 echo "X11Forwarding yes" >> /etc/ssh/sshd_config
 
 # set journald size
-sed -d '/^SystemMaxUse/' /etc/systemd/journald.conf
+sed -i '/^SystemMaxUse/d' /etc/systemd/journald.conf
 echo "SystemMaxUse=2G" >> /etc/systemd/journald.conf
 
 # set root password