| Server IP : 3.147.158.171 / Your IP : 216.73.216.216 Web Server : Apache/2.4.67 (Amazon Linux) OpenSSL/3.5.5 System : Linux ip-172-31-2-178.us-east-2.compute.internal 6.1.172-216.329.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Wed May 20 06:31:34 UTC 2026 x86_64 User : ec2-user ( 1000) PHP Version : 8.4.21 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /etc/systemd/system/multi-user.target.wants/ |
Upload File : |
[Unit] Description=Dynamically Generate Message Of The Day # running update-motd.service after cloud-final.service, which will be later in the boot process # this is to avoid running update-motd at the same time with other services such as dnf activities in userdata scripts Wants=network-online.target cloud-final.service After=network-online.target cloud-final.service [Service] Type=oneshot ExecStart=/usr/sbin/update-motd # update-motd should not be considered active when its processes have exited # timer should be able to restart update-motd even after exit RemainAfterExit=no PrivateTmp=yes ProtectHostname=yes ProtectHome=yes ProtectClock=yes RestrictRealtime=yes ProtectKernelTunables=yes PrivateDevices=yes ProtectSystem=full SystemCallFilter=~@reboot PrivateUsers=yes NoNewPrivileges=yes ProtectKernelLogs=yes ProtectControlGroups=yes ProtectKernelModules=yes MemoryDenyWriteExecute=yes RestrictNamespaces=yes RestrictSUIDSGID=yes LockPersonality=yes RestrictAddressFamilies=~AF_NETLINK RestrictAddressFamilies=~AF_PACKET CapabilityBoundingSet= # slightly less than default 100, as other things are likely to be more critical for application setup, # but we don't want to starve getting out of the way StartupCPUWeight=90 # Run with less priority than other tasks by default CPUWeight=50 # limit to a quarter of a core CPUQuota=25% # On startup, limit IO, but not by heaps StartupIOWeight=90 # Run with less priority for IO than other task IOWeight=50 [Install] WantedBy=multi-user.target