diff options
-rw-r--r-- | etc/systemd/system/autofs.service | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/systemd/system/autofs.service b/etc/systemd/system/autofs.service index 5f27e4a..8e68e82 100644 --- a/etc/systemd/system/autofs.service +++ b/etc/systemd/system/autofs.service @@ -7,9 +7,10 @@ Wants=network-online.target nfs-client.target Type=forking PIDFile=/var/run/autofs.pid EnvironmentFile=-/etc/default/autofs +ExecStartPre=sleep 10 ExecStart=/usr/sbin/automount $OPTIONS --pid-file /var/run/autofs.pid ExecReload=/bin/kill -HUP $MAINPID TimeoutSec=180 [Install] -WantedBy=multi-user.target
\ No newline at end of file +WantedBy=multi-user.target |