Last active
January 7, 2019 22:10
-
-
Save deepybee/19a515cc0f24897e288f0a18a57444bd to your computer and use it in GitHub Desktop.
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=Screen Rotation Service | |
After=network.target | |
[Service] | |
Type=simple | |
User=root | |
WorkingDirectory=/usr/lib/screen-rotator/ | |
ExecStart=/usr/lib/screen-rotator/rotate.py & | |
ExecStop=killall rotate.py | |
Restart=on-failure | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment