Disable proftpd

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
Lamerjack
Posts: 6
Joined: Fri Oct 07, 2016 11:46 am

Disable proftpd

Post by Lamerjack »

Hi all i want to disable proftpd and use only when i need.
i tried with sudo systemctl disable proftpd.service
or sudo update-rc.d proftpd disable
But at the next reboot the proftpd is running again!
Any suggestion?
Lamerjack
Posts: 6
Joined: Fri Oct 07, 2016 11:46 am

Re: Disable proftpd

Post by Lamerjack »

Seem that is a process launched by diet pi.
With dietpi-process i can change nice and cpu affinity... But how to disable?
User avatar
Fourdee
Site Admin
Posts: 2783
Joined: Tue Feb 06, 2007 1:36 pm

Re: Disable proftpd

Post by Fourdee »

DietPi disables the services from automatically running, so that they may be controlled by DietPi, you will need to mask the service to prevent it from running.

Disable:

Code: Select all

systemctl mask proftpd
Enable:

Code: Select all

systemctl unmask proftpd
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Lamerjack
Posts: 6
Joined: Fri Oct 07, 2016 11:46 am

Re: Disable proftpd

Post by Lamerjack »

Fourdee wrote:DietPi disables the services from automatically running, so that they may be controlled by DietPi, you will need to mask the service to prevent it from running.

Disable:

Code: Select all

systemctl mask proftpd
Enable:

Code: Select all

systemctl unmask proftpd
Thanks a lot!
User avatar
Sciamano
Posts: 264
Joined: Sat Oct 15, 2016 12:18 pm
Location: Italy

Re: Disable proftpd

Post by Sciamano »

Has this changed?
I tried this method to stop squeezelite and mopidy to run when I don't need them, but this is what happens:

Code: Select all

root@OPiZero:~# systemctl mask squeezelite
Failed to execute operation: File exists
User avatar
Fourdee
Site Admin
Posts: 2783
Joined: Tue Feb 06, 2007 1:36 pm

Re: Disable proftpd

Post by Fourdee »

Sciamano wrote:Has this changed?
I tried this method to stop squeezelite and mopidy to run when I don't need them, but this is what happens:

Code: Select all

root@OPiZero:~# systemctl mask squeezelite
Failed to execute operation: File exists
Strange, claims its already masked?

Try unmasking it and remasking it.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
User avatar
Sciamano
Posts: 264
Joined: Sat Oct 15, 2016 12:18 pm
Location: Italy

Re: Disable proftpd

Post by Sciamano »

Fourdee wrote:
Sciamano wrote:Has this changed?
I tried this method to stop squeezelite and mopidy to run when I don't need them, but this is what happens:

Code: Select all

root@OPiZero:~# systemctl mask squeezelite
Failed to execute operation: File exists
Strange, claims its already masked?

Try unmasking it and remasking it.
I have already tried. Same error.
Post Reply