Last active
August 29, 2015 14:12
-
-
Save runjak/0b1fa43699cdea0c4850 to your computer and use it in GitHub Desktop.
/etc/systemd/system
This file contains 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=Start/Stop the docker dropbox container | |
After=docker.service | |
[Service] | |
Type=oneshot | |
RemainAfterExit=yes | |
ExecStart=-/usr/bin/make -C <path to docker-dropbox> start | |
ExecStop=-/usr/bin/make -C <path to docker-dropbox> stop | |
[Install] | |
WantedBy=getty.target |
This file contains 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=Unload/Load r8192ee kernel module | |
After=netctl-sleep.service | |
Before=sleep.target | |
StopWhenUnneeded=yes | |
[Service] | |
Type=oneshot | |
RemainAfterExit=yes | |
ExecStart=-/usr/bin/modprobe -r r8192ee | |
ExecStop=-/usr/bin/modprobe r8192ee | |
[Install] | |
WantedBy=sleep.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment