systemd syntax check fails with "\"
Issue
After the update of systemd on the version 219-57 error messages are generated for service files which use a \ for line break:
Example:
# cat /etc/systemd/system/nscale-webdav.service
[...]
ExecStart=/var/ceyoniq/nscale-webdav/jre/bin/java \
-Xms24M -Xmx256M -XX:MinHeapFreeRatio=0 -XX:MaxHeapFreeRatio=20 \
-cp /var/ceyoniq/nscale-webdav/lib/*
[...]
When starting gives:
systemd[1]: [/etc/systemd/system/nscale-webdav.service:30] Trailing garbage, ignoring.
systemd[1]: [/etc/systemd/system/nscale-webdav.service:31] Unknown lvalue '-Xms24M -Xmx256M -XX:MinHeapFreeRatio' in section 'Service'
systemd[1]: [/etc/systemd/system/nscale-webdav.service:32] Missing '='.
Environment
Red Hat Enterprise Linux 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
