[Unit] Description=Update MOTD [Service] Type=oneshot ExecStart=/bin/sh -c 'uname -sr > /etc/motd' [Install] WantedBy=multi-user.target