2
0
mirror of https://github.com/frappe/bench.git synced 2025-01-23 23:18:24 +00:00

9 lines
284 B
Bash
Raw Normal View History

2018-03-05 13:16:34 +05:30
#!/bin/bash -eux
# Add frappe user to sudoers.
echo "frappe ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
sed -i "s/^.*requiretty/#Defaults requiretty/" /etc/sudoers
# Disable daily apt unattended updates.
echo 'APT::Periodic::Enable "0";' >> /etc/apt/apt.conf.d/10periodic