when checking on script status using sudo systemctl status BD_Ripping.Service the detail shown often seems to have skipped details compared to a grep of syslog.
grep BD_Ripping.sh /var/log/syslog
...under standard logging/verbosity this gives:
May 21 09:00:36 system user: [BD_Ripping.sh] full_script started
May 21 09:00:36 system user: [BD_Ripping.sh] NOTICE -- Ripping started...
May 21 09:00:51 system user: [BD_Ripping.sh] NOTICE -- Ripping at: 1%
May 21 09:15:51 system user: [BD_Ripping.sh] NOTICE -- Ripping at: 10%
May 21 09:30:51 system user: [BD_Ripping.sh] NOTICE -- Ripping at: 25%
May 21 09:45:51 system user: [BD_Ripping.sh] NOTICE -- Ripping at: 40%
May 21 10:00:51 system user: [BD_Ripping.sh] NOTICE -- Ripping at: 60%
May 21 10:15:51 system user: [BD_Ripping.sh] NOTICE -- Ripping at: 90%...nearly done
May 21 10:30:51 system user: [BD_Ripping.sh] NOTICE -- ...ripping complete
May 21 10:31:01 system user: [BD_Ripping.sh] WARNING -- NO AC3 tracks detected, error??
May 21 10:31:02 system user: [BD_Ripping.sh] NOTICE -- Encoding started...
May 21 11:13:12 system user: [BD_Ripping.sh] NOTICE -- Encoding... 10%
May 21 11:53:12 system user: [BD_Ripping.sh] NOTICE -- Encoding... 15%
May 21 12:33:12 system user: [BD_Ripping.sh] NOTICE -- Encoding... 30%
May 21 14:35:13 system user: [BD_Ripping.sh] NOTICE -- Encoding... 60%
May 21 15:15:13 system user: [BD_Ripping.sh] NOTICE -- Encoding... 60%
May 21 15:55:13 system user: [BD_Ripping.sh] NOTICE -- Encoding... 75%
May 21 16:35:13 system user: [BD_Ripping.sh] NOTICE -- Encoding... 75%
May 21 17:15:13 system user: [BD_Ripping.sh] NOTICE -- Encoding of BIG_BUCK complete.
May 21 17:15:14 system user: [BD_Ripping.sh] NOTICE -- successfully removed lockdirectory
May 21 17:15:14 system user: [BD_Ripping.sh] full_script completed
Compare to this from systemd:
BD_ripping.service - BD Ripping Service
Loaded: loaded (/etc/systemd/system/BD_ripping.service; disabled; vendor preset: enabled)
Active: active (running) since Sat 2022-05-21 09:00:36 BST; 4h 21min ago
Main PID: 32681 (bash)
Tasks: 30 (limit: 4915)
CGroup: /system.slice/BD_ripping.service
├─ 7915 HandBrakeCLI --json --no-dvdna -i /home/user/Videos/Rips/blurays/BIG_BUCK -t 9 -o /home/user/Videos/Encodes/blurays/Big Buck Bunny (2008)/Big Buck Bunny (2008) - Bluray-1080p_Proper - DTS-HD.mkv -f mkv -e x264 --encoder-preset medium --encoder-tune film --encoder-profile high --encoder-level 4.1 -q 19.0 -2 -a 2 -E copy --audio-copy-mask dtshd,truehd,dts --crop 0:0:0:0 --loose-anamorphic --keep-display-aspect --modulus 2 --decomb -N eng -F scan
├─20748 sleep 40m
└─32681 bash /home/user/bin/BD_Ripping.sh -c
May 21 09:00:36 system systemd[1]: Started BD Ripping Service.
May 21 09:00:36 system user[32724]: [BD_Ripping.sh] full_script started
May 21 09:30:51 system user[2919]: [BD_Ripping.sh] NOTICE -- Ripping at: 25%
May 21 09:45:51 system user[4094]: [BD_Ripping.sh] NOTICE -- Ripping at: 40%
May 21 11:13:12 system user[11374]: [BD_Ripping.sh] NOTICE -- Encoding... 10%
May 21 11:53:12 system user[14371]: [BD_Ripping.sh] NOTICE -- Encoding... 15%
May 21 12:33:12 system user[17476]: [BD_Ripping.sh] NOTICE -- Encoding... 30%
May 21 14:35:13 system user[27025]: [BD_Ripping.sh] NOTICE -- Encoding... 60%
May 21 15:15:13 system user[30148]: [BD_Ripping.sh] NOTICE -- Encoding... 60%
May 21 15:55:13 system user[786]: [BD_Ripping.sh] NOTICE -- Encoding... 75%
May 21 16:35:13 system user[3904]: [BD_Ripping.sh] NOTICE -- Encoding... 75%
when checking on script status using
sudo systemctl status BD_Ripping.Service
the detail shown often seems to have skipped details compared to a grep of syslog....under standard logging/verbosity this gives:
Compare to this from systemd: