Re: running a specified binary across reboots

2014-08-08 Thread Ed Greshko
On 08/09/14 03:44, Joe Zeff wrote: > On 08/08/2014 02:28 AM, Kevin Wilson wrote: >> 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. > > systemctl enable rc-loc

Re: running a specified binary across reboots

2014-08-08 Thread Joe Zeff
On 08/08/2014 02:28 AM, Kevin Wilson wrote: 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. systemctl enable rc-local.service -- users mailing list users@lists.f

Re: running a specified binary across reboots

2014-08-08 Thread Rick Stevens
On 08/08/2014 09:51 AM, Tim issued this missive: Allegedly, on or about 08 August 2014, Kevin Wilson sent: Should it have #!/bin/bash as its first line ? My older Fedora install has #!/bin/sh as its first line in the rc.local file. Not sure if it really is using a lighter weight shell (which

Re: running a specified binary across reboots

2014-08-08 Thread Kevin Cummings
On 08/08/2014 12:51 PM, Tim wrote: > Allegedly, on or about 08 August 2014, Kevin Wilson sent: >> Should it have #!/bin/bash as its first line ? > > My older Fedora install has #!/bin/sh as its first line in the rc.local > file. Not sure if it really is using a lighter weight shell (which > sou

Re: running a specified binary across reboots

2014-08-08 Thread Tim
Allegedly, on or about 08 August 2014, Kevin Wilson sent: > Should it have #!/bin/bash as its first line ? My older Fedora install has #!/bin/sh as its first line in the rc.local file. Not sure if it really is using a lighter weight shell (which sounds like a good idea), or one is aliased to the

Re: running a specified binary across reboots

2014-08-08 Thread Matthew Miller
On Fri, Aug 08, 2014 at 12:28:25PM +0300, 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. You don't need to wrap it in anything -- whatever legitim

Re: running a specified binary across reboots

2014-08-08 Thread Ed Greshko
On 08/08/14 17:57, Kevin Wilson wrote: > Thanks a lot! > Should it have #!/bin/bash as its first line ? I don't believe it is necessary, but I add it as a force of habit. -- If you can't laugh at yourself, others will gladly oblige. -- users mailing list users@lists.fedoraproject.org To unsubsc

Re: running a specified binary across reboots

2014-08-08 Thread Kevin Wilson
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 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 wra

Re: running a specified binary across reboots

2014-08-08 Thread Ed Greshko
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 addi

running a specified binary across reboots

2014-08-08 Thread Kevin Wilson
Hello, Fedora users, 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.