Change server information
-
thanks for the reply, i've changed it and it works great, do you think i could set the immovable attribute to the file without causing any trouble or is important to let the file being updated when upcp runs? 0 -
Good day, ludologo. We highly recommend against setting files with the immutable attribute since it's known to cause issues. Instead, I recommend creating a post-upcp hook or a cron job that removes the OS information after every update. We have an article on getting started with creating cPanel hooks that you can read here. 0 -
perfect, i'll try with the hook, thank you very much 0 -
Hi, i have another question: I see there is a variable called shorthostname = Whostmgr.shorthostname() in the file /usr/local/cpanel/whostmgr/docroot/templates/menu/topframe.tmpl, is there a variable for large hostname? because it only shows the subdomain prefix in server hostname and i would like to show the whole hostname, 0 -
Hello! Upon investigation, it doesn't seem like this would be possible; there wouldn't be a way to get the full hostname to show. Is there a reason you need it set this way? 0 -
Hello! Upon investigation, it doesn't seem like this would be possible; there wouldn't be a way to get the full hostname to show. Is there a reason you need it set this way?
the reason is the hosname of all my servers, all the hostnames are host.domain1.xxx host.domain2.xxx .... host.domainx.xxxx so in the information it only shows [host].0 -
Would you be able to submit a feature request using the link in my signature if you would like to see this functionality added? 0
Please sign in to leave a comment.
Comments
8 comments