os/+arch: increase inotify limit in install script

This commit is contained in:
Henrik Lissner 2017-09-02 18:58:39 +02:00
parent b3f925faee
commit 45f66ca7f6
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -55,6 +55,8 @@ fi
$pacaur -S ripgrep tmux hub gist bc keybase-bin cronie $pacaur -S ripgrep tmux hub gist bc keybase-bin cronie
sudo systemctl enable cronie.service sudo systemctl enable cronie.service
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.d/99-sysctl.conf && sudo sysctl --system
if [[ -z $SERVER ]]; then if [[ -z $SERVER ]]; then
if exists crontab; then if exists crontab; then
[[ -f $PWD/crontab ]] && crontab "$PWD/crontab" [[ -f $PWD/crontab ]] && crontab "$PWD/crontab"