I have a udiskie@$DISPLAY.service that requres panel@@$DISPLAY.service. Both service are started by an X11@$Display.target. I want the udiskie service to start after the panel service. The udiskie@.service contains
[Unit]
Description=udiskie autorun script
After=panel@%I.service
Requires=panel@%I.service
[Service]
Environment=DISPLAY=%I
Type=simple
Restart=always
ExecStart=/usr/bin/udiskie
I got an error in the journal:
mypc systemd[1360]: /home/q/.config/systemd/user/udiskie@.service:3: Failed to resolve unit specifiers in 'panel@%I.service', ignoring: Invalid slot