(20)
https://qiita.com/FSMS/items/0a562a330ba7914e98cf
vim /etc/systemd/logind.conf
HandleSuspendKey=ignore
HandleHibernateKey=ignore
HandleLidSwitch=ignore
systemctl restart systemd-logind.service
(10)
https://qiita.com/FSMS/items/0a562a330ba7914e98cf
vim /etc/systemd/logind.conf
HandleSuspendKey=ignore
HandleHibernateKey=ignore
HandleLidSwitch=ignore
systemctl restart systemd-logind.service
(7)
https://qiita.com/FSMS/items/0a562a330ba7914e98cf
vim /etc/systemd/logind.conf
HandleSuspendKey=ignore
HandleHibernateKey=ignore
HandleLidSwitch=ignore
systemctl restart systemd-logind.service
- Windows Server
(2019)
コントロール パネル -> ハードウェア -> 電源オプション -> システム設定
電源ボタンを押したときの動作: 何もしない
スリープボタンを押したときの動作: 何もしない
カバーを閉じたときの動作: 何もしない