Tag Info

New answers tagged

1

If you are not writing your own software but want to start/stop existing service, than like @jasonwryan wrote, RHEL/Fedora are using systemd. The command for handling services is systemctl. systemctl start/stop/restart servicename If you want to list the installed services, use: systemctl list-units


0

Look at /etc/rc.d/init.d You'll have a few services there to examine. You can also test the service script by checking the status of your net work with: $ sudo service network status


0

You need to set DAEMON_CONF in /etc/init.d/hostpad. It's really quite obvious if you look into /etc/init.d/hostapd, the default looks like this: ... 14 PATH=/sbin:/bin:/usr/sbin:/usr/bin 15 DAEMON_SBIN=/usr/sbin/hostapd 16 DAEMON_DEFS=/etc/default/hostapd 17 DAEMON_CONF= 18 NAME=hostapd 19 DESC="advanced IEEE 802.11 management" 20 ...


1

The issue was indeed related to apparmor. For some reason, these two lines were commented out in the new /etc/apparmor.d/usr.sbin.mysql file: # /var/lib/mysql/ r, # /var/lib/mysql/** rwk, Uncommenting them fixed the issue. Thanks to @Belrog and @slm who pointed me in the right direction.


1

No, updating a disabled service with yum should not re-enable it. I suspect however that you never actually stopped the service - doing systemctl disable just stops it starting automatically the next time you boot. If the service is already running then it won't stop it - you need to do systemctl stop for that. So if you just disabled it, and you haven't ...



Top 50 recent answers are included