Skip to content

Commit fdefb87

Browse files
committed
bull
1 parent 89ef303 commit fdefb87

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

bull/fussbull

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/bash
2+
if [[ -f /root/bulltrigger ]]; then
3+
echo -n "I am bull " >> /tmp/bullmessage
4+
date >> /tmp/bullmessage
5+
rm /root/bulltrigger
6+
fi

bull/fussbull.service

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[Unit]
2+
Description=Fussbull
3+
[Service]
4+
ExecStart=/usr/bin/fussbull
5+
Type=oneshot
6+
[Install]
7+
WantedBy=multi-user.target

0 commit comments

Comments
 (0)