Red Hat Bugzilla – Bug 1291720
Incorrect chmod parameters in the section about creating custom systemd unit files
Last modified: 2016-06-03 05:35:07 EDT
Document URL: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System_Administrators_Guide/index.html
Section Number and Name: 8.6.2. Creating Custom Unit Files
Describe the issue: The 1st step, starting with "Prepare the executable file with the custom service." incorrectly states at the end to "Make sure the source script is executable (by executing the chmod a-x) and is not interactive.", as that would actually clear the executable bits from the script.
Suggestions for improvement: The correct 'chmod' command parameter to make the script executable should be 'a+x', the full command would then be 'chmod a+x'.
Additional information: None