## **************************************************************************
## For copyright and licensing terms, see the file named COPYING.
## **************************************************************************

# This is obsolete on Debian Linux.
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=735521
#
# Also note that the external configuration import subsystem creates an /etc/system-control/convert/motd .

[Unit]
Description=Create the "dynamic" part of the Message Of The Day
Before=multi-user-pre.target

[Service]
Type=oneshot
Umask=0033
StandardOutput=file:/run/motd.dynamic
ExecStart=uname -srm
# This is a one-shot service that can be re-triggered by starting it again.
Restart=no

[Install]
WantedBy=multi-user.target
