17 lines
296 B
Bash
Executable file
17 lines
296 B
Bash
Executable file
#!/usr/bin/bash
|
|
set -euo pipefail
|
|
|
|
source /etc/os-release
|
|
export OS=$ID
|
|
|
|
if [[ $OS = "arch" ]]; then
|
|
systemctl enable sshd
|
|
systemctl enable knot
|
|
systemctl enable nginx
|
|
systemctl enable httpd
|
|
systemctl enable tor
|
|
systemctl enable php-fpm
|
|
fi
|
|
|
|
systemctl enable kresd@0
|
|
systemctl enable sftpgo
|