Skip to content

Commit e2a20a3

Browse files
authored
Use network-online
Not everyone uses nfs for sharing with docker-volume-netshare and having the nfs-utils required prevents it from loading up if NFS is not being used. Use network-online instead.
1 parent 3b432b7 commit e2a20a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

support/systemd/lib/systemd/system/docker-volume-netshare.service

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[Unit]
22
Description=Docker NFS, AWS EFS & Samba/CIFS Volume Plugin
33
Documentation=https://github.com/gondor/docker-volume-netshare
4-
After=nfs-utils.service
4+
Wants=network-online.target
5+
After=network-online.target
56
Before=docker.service
6-
Requires=nfs-utils.service
77

88

99
[Service]

0 commit comments

Comments
 (0)