Содержание
sudo mkdir -p /etc/systemd/system/getty@tty1.service.d
sudo nano /etc/systemd/system/getty@tty1.service.d/override.conf
[Service] ExecStart= ExecStart=-/sbin/agetty --autologin root --noclear %I $TERM
sudo systemctl daemon-reload
sudo systemctl restart getty@tty1
ps -p 1 -o comm=
sudo apt-get update
sudo apt-get install openvpn
openvpn –version
wget -O - https://swupdate.openvpn.net/repos/repo-public.gpg|apt-key add -
sudo nano /etc/apt/sources.list
deb http://swupdate.openvpn.net/apt jessie main
sudo apt-get update
sudo apt-get --only-upgrade install openvpn
Проверка работающих сервисов
systemctl list-units --type=service --state=running
rsyslog
systemctl stop rsyslog.service
systemctl stop syslog.socket
systemctl disable syslog.socket
systemctl disable rsyslog.service
Отключение журнала, systemd-journald работает, но теперь она не будет сохранять логи:
sudo nano /etc/systemd/journald.conf
sudo systemctl restart systemd-journald
Настройка source.list
sudo nano /etc/apt/sources.list
deb http://archive.debian.org/debian/ jessie main contrib deb http://security.debian.org/ jessie/updates main contrib deb http://swupdate.openvpn.net/apt jessie main