Last active
August 29, 2015 14:19
-
-
Save ko-zu/4ff2fca5de4b6a152513 to your computer and use it in GitHub Desktop.
systemdでmount完了を待ってサービスを起動する ref: http://qiita.com/ko-zu/items/3759144c53904afe6b76
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/systemd/system/smb.service.d/requiremount.conf | |
[Unit] | |
RequiresMountsFor=/mountpoint | |
RequiresMountsFor=/anothermountpoint |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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