summarylogtreecommitdiffstats
path: root/change-service-execstart-path.patch
diff options
context:
space:
mode:
authorravi0li2021-08-19 21:11:02 +0200
committerravi0li2021-08-19 21:11:02 +0200
commitc7dcda8f7802550b49bc0e4dcab08a5e61f5e261 (patch)
treebd683863254e2244ca9b7a3a08dfbaa04743036c /change-service-execstart-path.patch
downloadaur-kde-auto-rotate-git.tar.gz
initial commit
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