Skip to content

Instantly share code, notes, and snippets.

@ko-zu
Last active August 29, 2015 14:19
Show Gist options
  • Save ko-zu/4ff2fca5de4b6a152513 to your computer and use it in GitHub Desktop.
Save ko-zu/4ff2fca5de4b6a152513 to your computer and use it in GitHub Desktop.
systemdでmount完了を待ってサービスを起動する ref: http://qiita.com/ko-zu/items/3759144c53904afe6b76
# /etc/systemd/system/smb.service.d/requiremount.conf
[Unit]
RequiresMountsFor=/mountpoint
RequiresMountsFor=/anothermountpoint
# systemctl daemon-reload
# systemctl show smb | grep RequiresMount
RequiresMountsFor=/mountpoint /anothermountpoint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment