packages/fotd/systemd.service

6 lines
147 B
SYSTEMD
Raw Normal View History

2023-06-02 19:19:30 +00:00
[Unit]
Description=Randomly choose line from /etc/fortune to update /etc/motd.d/fortune
[Service]
ExecStart=sh -c "fortune > /etc/motd.d/fortune"