Here is the situation:
1. Extension is installed and is working fine:
Code: Select all
# plesk bin extension --enable magicspam
The extension's status was successfully updated.
# service magicspam-daemon status
Loaded: loaded (/etc/systemd/system/magicspam-daemon.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2018-01-22 13:26:00 +07; 1h 26min ago
# service magicspam-milter status
Loaded: loaded (/etc/systemd/system/magicspam-milter.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2018-01-22 13:26:02 +07; 1h 26min ago
Code: Select all
# plesk bin extension --uninstall magicspam
The extension was successfully removed.
# ls -l /etc/systemd/system/magicspam*
-rw-r--r-- 1 root root 272 Nov 16 00:42 /etc/systemd/system/magicspam-daemon.service
-rw-r--r-- 1 root root 288 Nov 16 00:42 /etc/systemd/system/magicspam-milter.service
It is actual for systemd-based, all is removed properly from /etc/init.d/.