User Tools

Site Tools


make_docker_or_any_other_service_wait_on_nfs_mounts

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
make_docker_or_any_other_service_wait_on_nfs_mounts [2023/11/19 20:12] tkbletscmake_docker_or_any_other_service_wait_on_nfs_mounts [2023/11/19 20:21] (current) tkbletsc
Line 22: Line 22:
 To set the mount timeout in systemd world, add the option "''x-systemd.mount-timeout=500''" to the ''/etc/fstab'' entry. Example: To set the mount timeout in systemd world, add the option "''x-systemd.mount-timeout=500''" to the ''/etc/fstab'' entry. Example:
   192.168.0.11:/volume1/content  /x/content  nfs4 rw,_netdev,x-systemd.mount-timeout=500 0 1   192.168.0.11:/volume1/content  /x/content  nfs4 rw,_netdev,x-systemd.mount-timeout=500 0 1
 +
 +===== Hey, do you want to know something horrifying and stupid about systemd? =====
 +
 +If you use the diagnostic command "systemctl show" followed by literally any service name, it prints out a long list of plausable settings as if that service actually exists, even if it's completely made up!
 +
 +  $ systemctl show POOPSERVICE9000 | head
 +  Restart=no
 +  NotifyAccess=none
 +  RestartUSec=100ms
 +  TimeoutStartUSec=1min 30s
 +  TimeoutStopUSec=1min 30s
 +  TimeoutAbortUSec=1min 30s
 +  ...etc...
 + 
 +This makes debugging super cool and fun. Good job, guys. 
  
make_docker_or_any_other_service_wait_on_nfs_mounts.txt · Last modified: 2023/11/19 20:21 by tkbletsc

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki