mirror of
https://github.com/BlackLight/cutiepi-rotation-scripts.git
synced 2025-08-06 17:18:56 +02:00
Added files
This commit is contained in:
parent
ea31d3810f
commit
d92d98a4b8
6 changed files with 162 additions and 1 deletions
systemd
19
systemd/autorotate.service
Normal file
19
systemd/autorotate.service
Normal file
|
@ -0,0 +1,19 @@
|
|||
# Copy or symlink this systemd service to ~/.config/systemd/user
|
||||
# (create the folder if it doesn't exist).
|
||||
# Start with: systemctl --user start autorotate
|
||||
# Stop with: systemctl --user stop autorotate
|
||||
# Enable at startup with: systemctl --user enable autorotate
|
||||
# Disable at startup with: systemctl --user disable autorotate
|
||||
|
||||
[Unit]
|
||||
Description=Manage screen auto-rotation on a CutiePi tablet
|
||||
After=graphical.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/home/pi/bin/autorotate
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue