NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Dewdman42
Apr 15, 2016Virtuoso
how to get rid of Mysql systemctl
At some point I installed the MySQL addon and removed it later when I decided to use postgres. However, MySQL is still left running on my system and enabled as a systemctl service, even after reboot...
Dewdman42
Apr 16, 2016Virtuoso
when you say its taken care of automatically now, what do you mean exactly? Are you saying that readynasd sweeps through the /apps dir and looks for .service files and copies them into /lib/systemd/system/ ?? how exactly do addon service files get propogated into systemd?
Basically I'm trying to find out where service unit files can reside that may get implictly added back to systemd and enabled. It sounds like if they are in an app's working dir, then this will be the case?
I really like systemd a lot better then the old init.d approach. systemd by itself is very clear and explicit . Init.d can be anybody's guess depending on what someone writes in the init.d script. I can understand why some legacy products will keep using init.d What isn't clear to me is why and how init.d works together with systemd.
siigna
Apr 16, 2016NETGEAR Employee Retired
After an app is installed readynasd restarts the web server (apache2). Before the web server starts (ExecStartPre in its service file) /frontview/bin/fvapps is ran, which sweeps through the apps folder and copies service files over.
- Dewdman42Apr 16, 2016Virtuoso
got it. THANKS for the explanation.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!