File fix-error-message-in-cobblerd-status.dif of Package cobbler.3314

Index: cobbler-2.6.6/config/cobblerd.service
===================================================================
--- cobbler-2.6.6.orig/config/cobblerd.service
+++ cobbler-2.6.6/config/cobblerd.service
@@ -4,7 +4,7 @@ After=syslog.target network.target
 
 [Service]
 ExecStart=@@install_scripts@@/cobblerd -F
-ExecStartPost=-/usr/bin/touch @@install_data@@/share/cobbler/web/cobbler.wsgi
+ExecStartPost=-/bin/sh -c "/usr/bin/test -e @@install_data@@/share/cobbler/web/cobbler.wsgi && /usr/bin/touch @@install_data@@/share/cobbler/web/cobbler.wsgi ||:"
 PrivateTmp=yes
 KillMode=process
 
openSUSE Build Service is sponsored by