summarylogtreecommitdiffstats
path: root/change-service-execstart-path.patch
diff options
context:
space:
mode:
Diffstat (limited to 'change-service-execstart-path.patch')
-rw-r--r--change-service-execstart-path.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/change-service-execstart-path.patch b/change-service-execstart-path.patch
new file mode 100644
index 000000000000..159ae8737085
--- /dev/null
+++ b/change-service-execstart-path.patch
@@ -0,0 +1,11 @@
+--- a/auto-rotate.service
++++ b/auto-rotate.service
+@@ -12,7 +12,7 @@ BindsTo=graphical-session.target
+ [Service]
+ Environment=DISPLAY=:0
+ ExecStartPre=/bin/sleep 10
+-ExecStart=/usr/local/bin/auto-rotate
++ExecStart=/usr/bin/auto-rotate
+ Restart=on-failure
+ SuccessExitStatus=3 4
+ RestartForceExitStatus=3 4