假设您有一个 systemd 系统单元:
[Unit]
After=suspend.target hibernate.target hybrid-sleep.target suspend-then-hibernate.target
[Service]
Type=oneshot
ExecStart=<start-user-unit-here>
[Install]
WantedBy=suspend.target hibernate.target hybrid-sleep.target suspend-then-hibernate.target
如何从该系统单元启动一个用户单元?