This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ -z "$PASS" ]; then | |
echo "Please setup password for the archive" | |
exit 0 | |
fi | |
ROOT=/mnt/data/backups/archives | |
SOURCE=/mnt/data/workspace |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Archlinux Server Optimization | |
cat > /etc/systemd/user.conf <<EOF | |
DefaultLimitNOFILE = 1048576 | |
EOF | |
cat > /etc/systemd/system.conf <<EOF | |
DefaultLimitNOFILE = 2097152 | |
EOF |