Directadmin service disappeared from Service Monitor

dr1361teh

Verified User
Joined
Aug 6, 2019
Messages
28
After updating the latest versions of Directadmin, the "directadmin" service will disappear from the "service monitor" list.
I found out that the update automatically removes directadmin=ON from /usr/local/directadmin/data/admin/services.status.
This can cause some DirectAdmin restart commands do not execute properly.

Any comment ?
 
I find out following lines in the update.sh of new DA updates:

# DA 1.63.5 remove directadmin from services.status list
sed -i '/^directadmin=/d' "$DA_PATH/data/admin/services.status"

As you know, after editing directadmin.conf or something like that we should restart directadmin. Before, we used service monitor to restart directadmin but now we should login to SSH to do that ! It is making trouble for us !

What is the purpose of adding these line to exclude directadmin from SERVICE MONITOR ?
 
DA team has intentionally removed "directadmin" service from the "service monitor" list.

Its now available at -
Dashboard --> Licensing / Updates --> Restart Direct Admin
 
Last edited:
DA team has intentionally removed "directadmin" service from the "service monitor" list.

Its now available at -
Dashboard --> Licensing / Updates --> Restart Direct Admin

What you said does not include enhanced skin. It is working with Evolution skin !
I prefer working with enhanced skin ! because it is a light skin and working properly.
 
DA team don't seem to care about enhanced skin anymore.
Sad, because evolution is useless for me, I would rather install Vesta ;).
 
DA team has intentionally removed "directadmin" service from the "service monitor" list.

Its now available at -
Dashboard --> Licensing / Updates --> Restart Direct Admin
but it was removed at enhanced skin too now, hope they can add it back
 
Just curious as this will be overwritten or not with the next DA update.
If you really want it back in your serverlist even after feature updates, for example to quickly show which process ID's are related to directadmin as a service, you can create a update_finished.sh in /usr/local/directadmin/scripts/custom with the following;

Code:
#!/bin/sh

grep -qxF 'directadmin=ON' /usr/local/directadmin/data/admin/services.status
if [ $? -ne 0 ]; then
        echo 'directadmin=ON' >> /usr/local/directadmin/data/admin/services.status
fi

exit 0;
 
Back
Top