[Unit] Description=Restart failed napi sshfs mounts [Service] Type=oneshot ExecStart=/bin/bash -c '\ for unit in home-fenix-napi\\x2ddata.mount home-fenix-napi\\x2ddata2.mount; do \ state=$(systemctl --user is-active "$unit" 2>/dev/null); \ if [ "$state" != "active" ]; then \ systemctl --user restart "$unit"; \ fi; \ done'