Page 1 of 1

How to get an application to start on boot in Pidora?

Posted: Mon Dec 22, 2014 10:20 am
by deavmi
How would you go about setting up an application like Syncthing to start on boot in Pidora.

Re: How to get an application to start on boot in Pidora?

Posted: Wed Dec 31, 2014 7:22 pm
by kayvan
Everything you need to know about systemd is here: https://fedoraproject.org/wiki/Systemd

If the application has its own systemd/sysv startup file, it's easy. Otherwise, you might need to create one.

Best regards,

---Kayvan

Re: How to get an application to start on boot in Pidora?

Posted: Thu Jan 01, 2015 1:10 pm
by deavmi
Thank you.

Re: How to get an application to start on boot in Pidora?

Posted: Tue Jan 13, 2015 4:11 am
by linuxpiuser
You could use cron that calls a very simple script that just sleeps for say 20 seconds then launches the app...

crontab -e

@reboot /home/linuxpiuser/start_app.sh

start_app.sh

#!/bin/bash

sleep 20
/usr/sbin/app
exit 0

I'm not 100% about this but it should work....