View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 4 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sun Nov 01, 2020 10:36 pm 
Offline
Joined: Tue Jan 18, 2005 2:07 am
Posts: 1532
Location: California
I used to be very active in the Knoppmyth & LINHES community, stepped away for a few years, but I'm back. Things have changed quite a bit and I have a few questions. I am coming from the world of Ubuntu...

  • What is the appropriate way to start a daemon or execute a script at boot? I want to autostart the headless Dropbox daemon under my username and the ftpd daemon as root.
  • I need to mount some network shares -- will changes to /etc/fstab remain intact when LINHES updates are applied?

Thanks in advance for any guidance you can provide.

_________________
Marc

The views expressed are my own and do not necessarily reflect the views of my employer.


Top
 Profile  
 
PostPosted: Mon Nov 02, 2020 3:54 pm 
Offline
Joined: Sat Jan 06, 2007 7:08 pm
Posts: 125
I kick off a couple of start scripts using /etc/runit/1.local

Code:
cd /etc/runit
[root@mythtv runit]# cat 1.local
#!/bin/bash
#local user startup script, run at the end of runit 1
su - mythtv /usr/local/bin/start-subsonic
/usr/local/bin/restart-slimserver


if you are installing a package, however, the package may take care of the start/stop scripts

changes to /etc/fstab persist, as long as you are above the "STARTSCRUUB" block

_________________
DH87MC i7-4770 16GB ram Xonar Essence ST geforce 710 LinHes 8.6


Top
 Profile  
 
PostPosted: Mon Nov 02, 2020 10:23 pm 
Offline
Joined: Tue Jan 18, 2005 2:07 am
Posts: 1532
Location: California
Welner, thank you very much for that info -- it worked. Very much appreciated!

Good to know that updates won't wipe out the changes.

I don't see any start/stop scripts for the build-in ftp server, but I'm able to start it with a simple "/usr/bin/ftpd -D".

Marc

_________________
Marc

The views expressed are my own and do not necessarily reflect the views of my employer.


Top
 Profile  
 
PostPosted: Sat Dec 05, 2020 8:47 am 
Offline
Joined: Tue Aug 15, 2006 11:14 am
Posts: 1343
Location: Orlando FL
welcome back!!!

_________________
My System


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: Google [Bot] and 26 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu