I tried the following, but unsuccessfully:
cat /home/lamy/.config/systemd/user/Today.service
[Unit]
Description=Today Service
After=suspend.target hibernate.target hybrid-sleep.target suspend-then-hibernate.target
[Service]
TimeoutStartSec=0
ExecStartPre=sleep 300
ExecStart=/bin/bash -c '. "$0" && exec "$@"' /mnt/Data/opt/Data/Bashrc/Src/Custom.bash %h/opt/bin/Today
#Restart=on-failure
#RestartSec=10
SyslogIdentifier=TodayService
[Install]
WantedBy=default.target suspend.target hibernate.target hybrid-sleep.target suspend-then-hibernate.target
Any suggestions please?
Note: The above works successfully after reboot but not after awake from suspend as journalctl shows no entry after awake but there are entries after reboot/shutdown.