mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-06-29 02:37:21 +02:00
install: never-fail {ssh,sshd,sshguard,tor,yggdrasil}.service.d}
This commit is contained in:
parent
5d3b9dffaa
commit
aabae465ca
10
install
10
install
@ -164,8 +164,18 @@ if [ "$(id -u)" == "0" ]; then
|
||||
# Systemd configuration directories. No configuration placed, so safe.
|
||||
mkdir -vp /etc/systemd/{system,system-preset,user,network}/
|
||||
mkdir -vp /etc/systemd/system/{app.slice.d,service.d}/
|
||||
mkdir -vp /etc/systemd/system/{ssh,sshd,sshguard,tor,yggdrasil}.service.d/
|
||||
cp -v etc/systemd/system/service.d/never-fail.conf /etc/systemd/system/ssh.service.d/
|
||||
cp -v etc/systemd/system/service.d/never-fail.conf /etc/systemd/system/sshd.service.d/
|
||||
cp -v etc/systemd/system/service.d/never-fail.conf /etc/systemd/system/sshguard.service.d/
|
||||
cp -v etc/systemd/system/service.d/never-fail.conf /etc/systemd/system/tor.service.d/
|
||||
cp -v etc/systemd/system/service.d/never-fail.conf /etc/systemd/system/yggdrasil.service.d/
|
||||
mkdir -vp /etc/systemd/{coredump,login,oomd,journald,resolved,system,timesyncd}.conf.d/
|
||||
|
||||
if hash systemctl 2> /dev/null; then
|
||||
systemctl daemon-reload
|
||||
fi
|
||||
|
||||
# Enables laziness on checking whether or not apt is installed
|
||||
mkdir -vp /etc/apt/apt.conf.d/
|
||||
# Enables progress bar and colours for apt/dpkg, which are helpful at
|
||||
|
Loading…
x
Reference in New Issue
Block a user