22 lines
347 B
Plaintext
22 lines
347 B
Plaintext
|
#!/usr/bin/bash
|
||
|
|
||
|
if [ "$container" != "mkosi" ]; then
|
||
|
exec mkosi-chroot "$SCRIPT" "$@"
|
||
|
fi
|
||
|
|
||
|
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 sftpgo
|