Hi, I have written a script which suppose to run at start-up and set a given IP. I can see systemd service is running when I check the status but I can find the expected result (new IP).
Is there anything wrong with the following format of the service file? [Unit] Description=Config IP ConditionFileIsExecutable=<path_to_script>/script After=network.target StartLimitIntervalSec=0 [Service] ExecStart=<path_to_script>/script [Install] WantedBy=multi-user.target Is it ok to restart network service with the script I use? Regards, -- Danishka Navin http://danishkanavin.blogspot.com http://twitter.com/danishkanavin
_______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org