There is a difference in starting the daemon using the fully qualified and relevant pathways.
- Code: Select all
[root@ns init.d]# pwd
/etc/init.d
[root@ns init.d]# ./clamd start
Starting Clam AntiVirus Daemon: [ OK ]
NOTE: this relate startup method works perfectly.
Whereas using the fully qualified path to the init script seems to perform a different startup script.
- Code: Select all
[root@ns init.d]# /etc/init.d/clamd start
Starting clamd (via systemctl): Warning: Unit file of clamd.service changed on disk, 'systemctl --system daemon-reload' recommended.
I cannot seem to understand why the difference of starting up the process. Why is this different, and why does the fully qualified pathway not seem to restart the daemon as expected?