It's a type of Planche
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

30 行
912B

  1. [Unit]
  2. Description=Automount and Unmount a Filesystem
  3. After=network-online.target
  4. Wants=network-online.target
  5. [Automount]
  6. # Takes an absolute path of a directory of the
  7. # automount point. If the automount point does
  8. # not exist at time that the automount point is
  9. # installed, it is created. This string must be
  10. # reflected in the unit filename.
  11. Where=/mount
  12. # Directories of automount points (and any parent
  13. # directories) are automatically created if needed.
  14. # This option specifies the file system access mode
  15. # used when creating these directories. Takes an
  16. # access mode in octal notation.
  17. #DirectoryMode=0755
  18. # Configures an idle timeout. Once the mount has
  19. # been idle for the specified time, systemd will
  20. # attempt to unmount. Takes a unit-less value in
  21. # seconds, or a time span value such as "5min 20s".
  22. # Pass 0 to disable the timeout logic.
  23. #TimeoutIdleSec=0
  24. [Install]
  25. WantedBy=multi-user.target