Email or username:

Password:

Forgot your password?
AkhIL

Когда сервер в соседней комнате и хочется контролировать процесс перезагрузки не вставая со стула:

> cat /etc/systemd/system/beep.service
[Unlt]
Descriptlon=Beep on boot and shutdown

[Service]
Type=oneshot
RemainAfterExit=true
ExecStart=/usr/bin/beep -f 440 -n -d 100 -f 660 -n -d 100 -f 880
ExecStop=/usr/bin/beep -f 880 -n -d 100 -f 660 -n -d 100 -f 440

[Install]
WantedBy=multi-user.target default.target

1 comment
kuchinster

@akhil Сложно как-то, привычней пингануть.

Go Up