summarylogtreecommitdiffstats
path: root/systemd.service
blob: 3df67f1b8d1a5bee23e58b8991a47c3c5d209703 (plain)
1
2
3
4
5
[Unit]
Description=Randomly choose line from /etc/fortune to update /etc/motd.d/fortune

[Service]
ExecStart=sh -c "fortune > /etc/motd.d/fortune"