[gentoo-commits] gentoo-x86 commit in media-tv/mythtv/files: mythbackend.service

2014-08-17 Thread Richard Freeman (rich0)
rich0   14/08/18 02:23:56

  Modified: mythbackend.service
  Log:
  New patchset, improve logging on systemd.
  
  (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 
0x08C170DE55EC123A)

Revision  ChangesPath
1.3  media-tv/mythtv/files/mythbackend.service

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/mythtv/files/mythbackend.service?rev=1.3view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/mythtv/files/mythbackend.service?rev=1.3content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/mythtv/files/mythbackend.service?r1=1.2r2=1.3

Index: mythbackend.service
===
RCS file: /var/cvsroot/gentoo-x86/media-tv/mythtv/files/mythbackend.service,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- mythbackend.service 15 Jul 2014 16:44:35 -  1.2
+++ mythbackend.service 18 Aug 2014 02:23:56 -  1.3
@@ -29,23 +29,6 @@
 #Wants=httpd.service
 
 [Service]
-# You have 2 choices for 'Type': simple or forking 
-# These require ExecStart lines which are NOT interchangeable.
-# Type=simple is recommended. 
-# If using 'Type=simple'
-# 1) you cannot have --daemon in the command line 
-
-# If using 'Type=forking'
-# 1) you must have --daemon in the command line AND
-# 2) you must have  --pidfile /somewhere in the command line AND
-# 3) you must have a line PIDFILE=/somewhere in the [service] stanza
-# this lets systemd know how to find the forked process PID, 
-# otherwise it presumes the starting process will be the remaining process
-# (cf. with the mysqld_safe process which starts mysqld and then disappears).
-# Specifying a pidfile with Type simple does not cause any problems and
-# may help in debugging startup failures.
-
-#Type=forking
 Type=simple
 
 Environment=MYTHCONFDIR=/etc/mythtv
@@ -71,12 +54,13 @@
 
 # Systemd sends stdout to syslog, and mythbackend has console logging enabled 
without --daemon.
 # Send stdout to /dev/null so console logging doesn't go to syslog
-StandardOutput=null
+#StandardOutput=null
 # Default setting for Type=simple.
-ExecStart=/usr/bin/mythbackend --logpath /var/log/mythtv --loglevel crit
+#ExecStart=/usr/bin/mythbackend --logpath /var/log/mythtv --loglevel crit
+ExecStart=/usr/bin/mythbackend --loglevel notice --nologserver
 
 # Whether systemd will continue over-watch and restart on any halt
-#Restart=always
+Restart=always
 
 [Install]
 WantedBy=multi-user.target






[gentoo-commits] gentoo-x86 commit in media-tv/mythtv/files: mythbackend.service

2014-07-15 Thread Richard Freeman (rich0)
rich0   14/07/15 16:44:35

  Modified: mythbackend.service
  Log:
  New patchset, cleaned up systemd service.
  
  (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 
0x08C170DE55EC123A)

Revision  ChangesPath
1.2  media-tv/mythtv/files/mythbackend.service

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/mythtv/files/mythbackend.service?rev=1.2view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/mythtv/files/mythbackend.service?rev=1.2content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/mythtv/files/mythbackend.service?r1=1.1r2=1.2

Index: mythbackend.service
===
RCS file: /var/cvsroot/gentoo-x86/media-tv/mythtv/files/mythbackend.service,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- mythbackend.service 23 Oct 2013 14:57:50 -  1.1
+++ mythbackend.service 15 Jul 2014 16:44:35 -  1.2
@@ -52,7 +52,7 @@
 # Default setting assumes a system wide install. Otherwise it should be set to 
 # the folder containing the .mythtv subfolder containing the config.xml file 
 # Such as
-Environment=HOME=/usr/share/mythtv
+#Environment=HOME=/usr/share/mythtv
 # or
 Environment=HOME=/~/.mythtv
 
@@ -76,7 +76,7 @@
 ExecStart=/usr/bin/mythbackend --logpath /var/log/mythtv --loglevel crit
 
 # Whether systemd will continue over-watch and restart on any halt
-#Restart=Restart-always
+#Restart=always
 
 [Install]
 WantedBy=multi-user.target