Skip to content

Commit

Permalink
bull
Browse files Browse the repository at this point in the history
  • Loading branch information
h908714124 committed Nov 9, 2024
1 parent 89ef303 commit fdefb87
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bull/fussbull
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash
if [[ -f /root/bulltrigger ]]; then
echo -n "I am bull " >> /tmp/bullmessage
date >> /tmp/bullmessage
rm /root/bulltrigger
fi
7 changes: 7 additions & 0 deletions bull/fussbull.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[Unit]
Description=Fussbull
[Service]
ExecStart=/usr/bin/fussbull
Type=oneshot
[Install]
WantedBy=multi-user.target

0 comments on commit fdefb87

Please sign in to comment.