buyapi / ups

16 stars 16 forks source link

rc_.d links missing, script not starting #7

Open Martin-HiPi opened 3 years ago

Martin-HiPi commented 3 years ago

The file scripts/ups.sh is missing a block:

### BEGIN INIT INFO
# Provides: ups
# Required-Start: $remote_fs
# Required-Stop: $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: UPS Monitor
# Description: Starts the Buy A Pi UPS HAT Monitor
### END INIT INFO

This prevents the script to start.

Martin-HiPi commented 3 years ago

Fixed here: https://github.com/Martin-HiPi/ups/commit/7363f4da87be9fdd1c9af586f68efe5072b70cc5