diff --git a/roles/storage_mount/templates/nfs.service.j2 b/roles/storage_mount/templates/nfs.service.j2 index b8c0eaa..aa315c3 100644 --- a/roles/storage_mount/templates/nfs.service.j2 +++ b/roles/storage_mount/templates/nfs.service.j2 @@ -8,3 +8,6 @@ What={{ storage_mount.host }}:{{ storage_mount.host_path }} Where={{ storage_mount.dest_path }} Type={{ storage_mount.type }} Options={{ storage_mount.args }} + +[Install] +WantedBy=graphical.target diff --git a/roles/storage_mount/templates/smb.service.j2 b/roles/storage_mount/templates/smb.service.j2 index 6c748a3..4209f33 100644 --- a/roles/storage_mount/templates/smb.service.j2 +++ b/roles/storage_mount/templates/smb.service.j2 @@ -8,3 +8,6 @@ What=//{{ storage_mount.host }}/{{ storage_mount.host_path }} Where={{ storage_mount.dest_path }} Type={{ storage_mount.type }} Options={{ storage_mount.args }} + +[Install] +WantedBy=graphical.target