Skip to content

Commit

Permalink
Eliminate sleep option
Browse files Browse the repository at this point in the history
The `ExecStartPre=/bin/sleep 1` was a workaround for a missing `After=start-user-session.service`!
  • Loading branch information
Olf0 authored Mar 14, 2021
1 parent d773a33 commit 66aaff2
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions systemd/system/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@ Before=alien-service-manager.service
[Service]
Type=oneshot
RemainAfterExit=yes
# "udisksctl mount" (below) sometimes fails when issued right after
# "udisksd" (per "udisks2.service") has finished starting, as the
# udisks object for an encrypted partition has not been created yet.
# Hence one might give udisksd a second to settle:
# ExecStartPre=/bin/sleep 1
EnvironmentFile=-/var/lib/environment/udisks2/%[email protected]
EnvironmentFile=-/var/lib/environment/udisks2/%p@%I.conf
ExecStart=/usr/bin/udisksctl-user mount $UDISKS2_MOUNT_OPTIONS -b /dev/mapper/%I
Expand Down

0 comments on commit 66aaff2

Please sign in to comment.