commit b45ee016bd292a34f6746dd2f4ce3814f5bd0b68
Author: Richard Shaw <hobbes1069(a)gmail.com>
Date: Wed Feb 28 08:16:39 2018 -0600
Comment out install section of mythdv-optimize.service as it should really only be run
by the accompanying timer.
mythdb-optimize.service | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/mythdb-optimize.service b/mythdb-optimize.service
index 1c2da80..995e0df 100644
--- a/mythdb-optimize.service
+++ b/mythdb-optimize.service
@@ -28,5 +28,8 @@ Environment=MYTHCONFDIR=/etc/mythtv
User=mythtv
ExecStart=/bin/optimize_mythdb
-[Install]
-WantedBy=basic.target
+# This service should be started by mythdv-optimize.timer. If for some reason
+# you want to run on startup, copy to /etc/systemd/system and uncomment the
+# following two lines.
+#[Install]
+#WantedBy=basic.target