summarylogtreecommitdiffstats
path: root/systemd.service
diff options
context:
space:
mode:
authorAnthony Wang2023-06-02 19:19:30 +0000
committerAnthony Wang2023-06-02 19:20:35 +0000
commit800184c29d6079cffae029d82572d58527466e40 (patch)
treee96681832f7e963a0aaa1c5385f22a13d3427108 /systemd.service
downloadaur-fotd.tar.gz
Initial commit
Diffstat (limited to 'systemd.service')
-rw-r--r--systemd.service5
1 files changed, 5 insertions, 0 deletions
diff --git a/systemd.service b/systemd.service
new file mode 100644
index 000000000000..3df67f1b8d1a
--- /dev/null
+++ b/systemd.service
@@ -0,0 +1,5 @@
+[Unit]
+Description=Randomly choose line from /etc/fortune to update /etc/motd.d/fortune
+
+[Service]
+ExecStart=sh -c "fortune > /etc/motd.d/fortune"