<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=5001&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [SOLVED] How to auto-start an application during booting]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=5001</link>
		<description><![CDATA[The most recent posts in [SOLVED] How to auto-start an application during booting.]]></description>
		<lastBuildDate>Thu, 21 Apr 2022 22:48:03 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] How to auto-start an application during booting]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=35714#p35714</link>
			<description><![CDATA[<p>I just run the following commands as root...</p><div class="codebox"><pre><code>ufw default deny</code></pre></div><div class="codebox"><pre><code>ufw enable</code></pre></div><p>After that second command, it shows a message saying that ufw is enabled and added to system startup.</p><p>...and you can check if it&#039;s&#160; running with...</p><div class="codebox"><pre><code>ufw status</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (MiyoLinux)]]></author>
			<pubDate>Thu, 21 Apr 2022 22:48:03 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=35714#p35714</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] How to auto-start an application during booting]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=35709#p35709</link>
			<description><![CDATA[<p>I have done this. <br />Type in a console terminal... as root</p><div class="codebox"><pre><code> rc-update</code></pre></div><p>you should get a list of services and their start-up status. like sysinit, default, off, recovery. (sorry it looks messy)</p><div class="codebox"><pre class="vscroll"><code>root@GlennsPref:/root  rc-update
           alsa-utils |                                              sysinit
              anacron |      default                                        
         avahi-daemon |                        off                          
            bluetooth |      default                                        
             bootlogd |                                              sysinit
             bootlogs |      default               recovery                 
          bootmisc.sh |                                              sysinit
           brightness |                                              sysinit
              cgroups |                                              sysinit
           checkfs.sh |                                              sysinit
 checkroot-bootclean.sh |                                              sysinit
         checkroot.sh |                                              sysinit
     clamav-freshclam |      default                                        
     console-setup.sh |      default                                        
                 cron |      default                                        
                 dbus |      default                                        
              elogind |      default                                        
                eudev |                                              sysinit
                exim4 |                        off                          
             fail2ban |      default                                        
            fwautorun |                                              sysinit
           fwlogwatch |      default                                        
                  gpm |      default                                        
              hddtemp |      default                                        
          hostname.sh |                                              sysinit
           hwclock.sh |                                              sysinit
    keyboard-setup.sh |                                              sysinit
            killprocs |                            recovery                 
                 kmod |                                              sysinit
              lightdm |      default                                        
           lm-sensors |                                              sysinit
       mount-configfs |                                              sysinit
 mountall-bootclean.sh |                                              sysinit
          mountall.sh |                                              sysinit
     mountdevsubfs.sh |                                              sysinit
       mountkernfs.sh |                                              sysinit
 mountnfs-bootclean.sh |                                              sysinit
          mountnfs.sh |                                              sysinit
       nethack-common |                        off                          
      network-manager |      default                                        
           networking |                                              sysinit
             openntpd |      default                                        
              privoxy |      default                                        
               procps |                                              sysinit
 pulseaudio-enable-autospawn |      default           off                          
             rc.local |      default                                        
            rmnologin |      default                                        
                rsync |      default                                        
              rsyslog |      default                                        
            savecache |                        off                          
       screen-cleanup |                                              sysinit
             sendsigs |                        off                          
               single |                            recovery                 
                 slim |      default                                        
                squid |      default                                        
                  ssh |                        off                          
        stop-bootlogd |      default                                        
 stop-bootlogd-single |                                              sysinit
                 sudo |                        off                          
              sysstat |      default                                        
             umountfs |                        off                          
         umountnfs.sh |                        off                          
           umountroot |                        off                          
              urandom |                                              sysinit
           x11-common |                                              sysinit
                  xdm |      default </code></pre></div><p>Also you can use this to see the status of the services.</p><div class="codebox"><pre><code>service --status-all</code></pre></div><div class="codebox"><pre class="vscroll"><code>root@GlennsPref:/root  service
Usage: service &lt; option &gt; | --status-all | [ service_name [ command | --full-restart ] ]
root@GlennsPref:/root  service --status-all
 [ ? ]  alsa-utils
 [ - ]  anacron
 [ - ]  avahi-daemon
 [ + ]  bluetooth
 [ + ]  bootlogd
 [ - ]  bootlogs
 [ - ]  bootmisc.sh
 [ - ]  brightness
 [ + ]  cgroups
 [ - ]  checkfs.sh
 [ - ]  checkroot-bootclean.sh
 [ - ]  checkroot.sh
 [ + ]  clamav-freshclam
 [ - ]  console-setup.sh
 [ + ]  cron
 [ + ]  dbus
 [ + ]  elogind
 [ + ]  eudev
 [ - ]  exim4
 [ + ]  fail2ban
 [ ? ]  fwautorun
 [ + ]  fwlog.sh
 [ - ]  fwlogwatch
 [ + ]  gpm
 [ - ]  hddtemp
 [ - ]  hostname.sh
 [ ? ]  hwclock.sh
 [ - ]  iwd.initd
 [ - ]  keyboard-setup.sh
 [ - ]  killprocs
 [ ? ]  kmod
 [ + ]  lightdm
 [ - ]  lm-sensors
 [ ? ]  mount-configfs
 [ - ]  mountall-bootclean.sh
 [ - ]  mountall.sh
 [ - ]  mountdevsubfs.sh
 [ - ]  mountkernfs.sh
 [ - ]  mountnfs-bootclean.sh
 [ - ]  mountnfs.sh
 [ - ]  nethack-common
 [ + ]  network-manager
 [ ? ]  networking
 [ - ]  openntpd
 [ + ]  privoxy
 [ - ]  procps
 [ - ]  pulseaudio-enable-autospawn
 [ - ]  rc.local
 [ - ]  rmnologin
 [ - ]  rsync
 [ + ]  rsyslog
 [ - ]  savecache
 [ - ]  screen-cleanup
 [ - ]  sendsigs
 [ - ]  slim
 [ + ]  squid
 [ - ]  ssh
 [ + ]  stop-bootlogd
 [ + ]  stop-bootlogd-single
 [ - ]  sudo
 [ - ]  sysstat
 [ - ]  umountfs
 [ - ]  umountnfs.sh
 [ - ]  umountroot
 [ - ]  urandom
 [ - ]  x11-common
 [ - ]  xdm</code></pre></div><p>If your service is not listed to start you can add or del it from the list and run it, like this (for example)</p><div class="codebox"><pre><code>rc-update add nftables default
rc-service nftables start</code></pre></div><p>for the oposite, change add to del, and change start to stop.</p><p>I hope I got the question right, all the best. Glenn</p>]]></description>
			<author><![CDATA[dummy@example.com (GlennW)]]></author>
			<pubDate>Thu, 21 Apr 2022 12:46:58 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=35709#p35709</guid>
		</item>
		<item>
			<title><![CDATA[[SOLVED] How to auto-start an application during booting]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=35708#p35708</link>
			<description><![CDATA[<p>I would like to enable the firewall (ufw) and also TOR on my system&#039;s startup (Chimaera). I found that i need to update rc.local and add the following:</p><p>&#160; &#160; if [ -x /lib/ufw/ufw-init ]; then<br />&#160; &#160; /lib/ufw/ufw-init start<br />&#160; &#160; fi</p><p>Is that correct? Can someone help me how to configure these two process correctly? Also, openvpn auto-connect would be great. Now I am using cd /etc/openvpn sudo openvpn ....ovpn command in terminal.</p><p>Thanks!</p>]]></description>
			<author><![CDATA[dummy@example.com (draden)]]></author>
			<pubDate>Thu, 21 Apr 2022 11:57:45 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=35708#p35708</guid>
		</item>
	</channel>
</rss>
