Created
September 21, 2016 01:40
-
-
Save kozikow/2e31cb0db6ef253d2924dfdd6c1d22e3 to your computer and use it in GitHub Desktop.
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
| [Unit] | |
| Description=Minikube | |
| [Service] | |
| Type=oneshot | |
| TimeoutStartSec=300 | |
| User=kozikow | |
| ExecStart=/usr/local/bin/minikube start --show-libmachine-logs=true ; \ | |
| /usr/local/bin/minikube ssh "mkdir -p /home/kozikow/git_repos && sudo mount -t vboxsf git_repos /home/kozikow/git_repos" ; \ | |
| /usr/local/bin/minikube ssh "mkdir -p /home/kozikow/.config && sudo mount -t vboxsf config /home/kozikow/.config" | |
| RemainAfterExit=yes | |
| ExecStop=/usr/local/bin/minikube stop | |
| [Install] | |
| WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment