I created a file in */lib/systemd/system-sleep*.

    #!/bin/sh
    case $1 in
      post)
        /bin/runme
      ;;
    esac

The *post* is called on wakeup.