On 09/03/2016 01:59 PM, François Patte wrote:
Bonsoir, I try to enable rc-local service: 1- I created /etc/rc.d/rc.local file: #!/bin/bash iptables -I INPUT -p udp --sport 1900 -j ACCEPT 2- I chmoded /etc/rc.d/rc.local chmod u+x /etc/rc.d/rc.local But the service won't start: # systemctl status rc-local.service ● rc-local.service - /etc/rc.d/rc.local Compatibility Loaded: loaded (/usr/lib/systemd/system/rc-local.service; static; vendor preset: disabled) Active: failed (Result: exit-code) since sam. 2016-09-03 22:49:00
Another useless systemd message. This usually indicates an error in the script contained in rc.local. Try executing rc.local manually to see if there are any errors. If there are bash will provide much more useful information.
-- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org