diff options
author | Daniel Widerin <daniel@widerin.net> | 2014-09-25 15:24:56 +0000 |
---|---|---|
committer | Daniel Widerin <daniel@widerin.net> | 2014-09-25 15:24:56 +0000 |
commit | 16a6d2450b5a5839c69c9d2365244f59bd17f1ac (patch) | |
tree | 930a4047dad9b993ea9fc77731bb24bf108371da /doc/update | |
parent | d5dc171cb7e04a1a513dca044578e95d52706a84 (diff) | |
download | gitlab-ce-16a6d2450b5a5839c69c9d2365244f59bd17f1ac.tar.gz |
Use edit in place with sed instead of tee
Diffstat (limited to 'doc/update')
-rw-r--r-- | doc/update/7.2-to-7.3.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/update/7.2-to-7.3.md b/doc/update/7.2-to-7.3.md index ceb9588f758..b60947b5a62 100644 --- a/doc/update/7.2-to-7.3.md +++ b/doc/update/7.2-to-7.3.md @@ -73,7 +73,7 @@ sudo cp lib/support/init.d/gitlab /etc/init.d/gitlab # Enable Redis socket for default Debian / Ubuntu path echo 'unixsocket /var/run/redis/redis.sock' | sudo tee -a /etc/redis/redis.conf # Be sure redis group can write to the socket, enable only if supported (>= redis 2.4.0). - sed '/# unixsocketperm/ s/^# unixsocketperm.*/unixsocketperm 0775/' /etc/redis/redis.conf | sudo tee -a /etc/redis/redis.conf + sed -i '/# unixsocketperm/ s/^# unixsocketperm.*/unixsocketperm 0775/' /etc/redis/redis.conf echo ' 0775' | sudo tee -a /etc/redis/redis.conf # Activate the changes to redis.conf sudo service redis-server restart |