[Unit] Description=BastionGuard restart guard for user services on suspend/resume and session lock After=graphical-session.target Wants=graphical-session.target PartOf=graphical-session.target StartLimitIntervalSec=0 [Service] Type=simple ExecStart=/usr/share/BastionGuard/data/scripts/BastionGuard-user-session-watch.sh Restart=always RestartSec=3s Environment=XDG_RUNTIME_DIR=%t Environment=DBUS_SESSION_BUS_ADDRESS=unix:path=%t/bus [Install] WantedBy=default.target