Re: rc.local not start at the boot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 28.10.2014 10:59, poma wrote:
> On 28.10.2014 10:18, Angelo Moreschini wrote:
>> I would say that this thread is the continuation of a my preceding thread :
>>
>> “selecting some kind of files using the resync command”
>>
>>
>>  There I got help in order to make the backup of some my critical files.
>>
>> Now I am able to backing up these files using a shell script from the line
>> command.
>>
>> But I would like also that this backup runs automatically when the computer
>> boots.
>>
>>
>>  I know that this task is performed by the rc.local file, in Linux.
> 
> :)
> https://wiki.archlinux.org/index.php/Systemd_FAQ#How_can_I_make_a_script_start_during_the_boot_process.3F
> 
> Simple as that.
> 

BTW 

/etc/systemd/system/replaces-ancient-rc.local.service
[Unit]
Description=Replaces ancient /etc/rc.d/rc.local

[Service]
Type=oneshot
ExecStart=/usr/bin/my-script-1st
ExecStart=/usr/bin/my-script-2nd
ExecStart=/usr/bin/my-script-3rd

[Install]
WantedBy=multi-user.target 


$ man 5 systemd.service


poma


-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
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




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux