Skip to content

Commit

Permalink
Remove runit scripts, not work as expected, return to rc.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricardo F committed Aug 10, 2024
1 parent 8585a94 commit e671a61
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
2 changes: 0 additions & 2 deletions src/runit/finish

This file was deleted.

3 changes: 0 additions & 3 deletions src/runit/run

This file was deleted.

8 changes: 2 additions & 6 deletions tuptime-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -188,12 +188,8 @@ elif { [ "${PID1}" = 'init' ] && [ -f /etc/rc.conf ]; } || [ "${PID1}" = 'openrc

elif [ "${PID1}" = 'runit' ]; then
echo "+ Runit startup and shutdown execution"
install -d -m 755 /etc/sv/tuptime
install -m 755 "${F_TMP1}"/src/runit/* /etc/sv/tuptime/
if [ ! -L /etc/service/tuptime ]; then
ln -s /etc/sv/tuptime/ /etc/service/tuptime
fi
sv start tuptime
echo 'tuptime -q' >> /etc/rc.local
echo 'tuptime -qg' >> /etc/rc.shutdown
echo ' [OK]'

else
Expand Down

0 comments on commit e671a61

Please sign in to comment.