You are not logged in.

#1 2011-06-15 10:15:00

sultanoswing
Member
Registered: 2008-07-23
Posts: 314

[SOLVED] Run a "sudo" commadn at startup ("serviio")

I'm trying to run the DLNA server "serviio" (available from AUR) on login or startup.

Currently, the only way I can get it to run is issuing "sudo serviio" from a terminal.

I tried adding "servio" to /etc/rc.local, and although serviio ran just fine, it hung to bootup process at crond.

Do I have to write and run a script? Daemonise it? Add it simply to my startup array using gnome-session-properties?

Thanks in advance.

Last edited by sultanoswing (2011-06-15 12:10:51)


6.5.3.arch1-1(x86_64) w/Gnome 44.4
Arch on: ASUS Pro-PRIME x470, AMD 5800X3D, AMD 6800XT, 32GB, | Intel NUC 7i5RYK | ASUS ux303ua | Surface Laptop

Offline

#2 2011-06-15 11:07:40

ryuslash
Member
Registered: 2010-10-11
Posts: 58
Website

Re: [SOLVED] Run a "sudo" commadn at startup ("serviio")

Doesn't it have a startup script in /etc/rc.d? If it doesn't maybe it should and if it does you could just add serviio to your DAEMONS array.
Otherwise even adding "servio &" to you /etc/rc.local might help, since it seems like startup might be waiting for it to finish.
Another option might be putting "@reboot servio &" in your root's crontab.

If it has a script in rc.d I'd say that's the best solution, I don't know if these other ones are really any good...

Offline

#3 2011-06-15 11:41:46

sultanoswing
Member
Registered: 2008-07-23
Posts: 314

Re: [SOLVED] Run a "sudo" commadn at startup ("serviio")

ryuslash wrote:

...adding "servio &" to you /etc/rc.local might help, since it seems like startup might be waiting for it to finish.


That solved it, thanks!

There is no daemon process available for this app.


6.5.3.arch1-1(x86_64) w/Gnome 44.4
Arch on: ASUS Pro-PRIME x470, AMD 5800X3D, AMD 6800XT, 32GB, | Intel NUC 7i5RYK | ASUS ux303ua | Surface Laptop

Offline

Board footer

Powered by FluxBB