2024-03-12 15:44:19 +01:00
|
|
|
[Unit]
|
|
|
|
Description=Open URL in your local web browser from the SSH-connected remote environment.
|
2024-03-16 09:51:42 +01:00
|
|
|
After=graphical-session.target
|
2024-03-12 15:44:19 +01:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Restart=always
|
|
|
|
Environment=OPENER_CONF=%t/opener.%i.conf
|
|
|
|
ExecStart=/bin/sh -c 'echo "address: %t/opener.%i.sock" > $OPENER_CONF && exec %h/bin/opener --config $OPENER_CONF'
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=graphical-session.target
|