Hi, is there any way to start user service before/after suspend.target? In wiki.archlinux.org there are only system sleep hooks [1]. I tried to lock the screen before suspend and put the service inspired by [2] in ~/.config/systemd/user/. But this service just did not start.
R.H. [1] https://wiki.archlinux.org/index.php/Power_management#Suspend.2Fresume_service_files [2] https://bbs.archlinux.org/viewtopic.php?id=163281 _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel