File BackupPC4-suse.patch of Package BackupPC4
Index: BackupPC-4.4.0/systemd/src/init.d/suse-backuppc
===================================================================
--- BackupPC-4.4.0.orig/systemd/src/init.d/suse-backuppc
+++ BackupPC-4.4.0/systemd/src/init.d/suse-backuppc
@@ -7,6 +7,25 @@
# Distributed with BackupPC version 4.4.0, released 20 Jun 2020.
#
+# 2015-05-19 patched to fulfill LSB req.
+#
+# init.d/backuppc
+#
+# and symbolic its link
+#
+# /sbin/rcbackuppc
+#
+# System startup script for the BackupPC server daemon
+#
+### BEGIN INIT INFO
+# Provides: backuppc
+# Required-Start: $syslog
+# Required-Stop: $syslog
+# Default-Start: 3 5
+# Default-Stop: 0 1 2 6
+# Description: Start the backuppc server daemon
+### END INIT INFO
+
set -e
#
@@ -52,6 +71,11 @@ case "$1" in
start-stop-daemon --stop --pidfile $RUNDIR/BackupPC.pid \
--signal 1 -x /usr/bin/perl
;;
+ status)
+ echo -n "Checking for $NAME daemon: "
+ checkproc -p $BACKUPPCD_PID $BACKUPPCD_BIN
+ rc_status -v
+ ;;
*)
echo "Usage: /etc/init.d/$NAME {start|stop|restart|reload}"
exit 1