running a specified binary across reboots

Kevin Wilson wkevils at gmail.com
Fri Aug 8 09:57:50 UTC 2014


Hi,
Thanks a lot!
Should it have #!/bin/bash as its first line ?

Kevin

On Fri, Aug 8, 2014 at 12:33 PM, Ed Greshko <ed.greshko at greshko.com> wrote:
> On 08/08/14 17:28, Kevin Wilson wrote:
>> I want to run a binary of some Fedora application I wrote immediately
>> after reboot.
>>
>> I know that as a workaround I can wrap it as a systemd daemon, but I
>> prefer not to.
>>
>> In previous fedora distros, making it run across reboots was enabled
>> by adding an entry
>> in /etc/rc.local.
>>
>> What is a good practice to achieve it in Fedora 20 ? there is no
>> /etc/rc.local in my fedora 20, and trying to add an entry in
>> /etc/rc.local does not cause it be be run across boots.
>
> Yes, Fedora does support an rc.local concept....
>
> From
>
> http://docs.fedoraproject.org/en-US/Fedora/16/html/Release_Notes/sect-Release_Notes-Changes_for_Sysadmin.html
>
> 3.2.4. rc.local no longer packaged
> The /etc/rc.d/rc.local local customization script is no longer included by default. Administrators who need this functionality merely have to create this file, make it executable, and it will run on boot.
>
> --
> If you can't laugh at yourself, others will gladly oblige.
> --
> users mailing list
> users at lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> 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


More information about the users mailing list