<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Control WebPanel Wiki &#187; after-update</title>
	<atom:link href="https://wiki.centos-webpanel.com/tag/after-update/feed" rel="self" type="application/rss+xml" />
	<link>https://wiki.centos-webpanel.com</link>
	<description>CentOS WebPanel Wiki</description>
	<lastBuildDate>Wed, 12 Feb 2025 20:38:16 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.1.1</generator>
	<item>
		<title>Run After Update Script</title>
		<link>https://wiki.centos-webpanel.com/run-after-update-script</link>
		<comments>https://wiki.centos-webpanel.com/run-after-update-script#comments</comments>
		<pubDate>Thu, 27 Feb 2020 05:29:00 +0000</pubDate>
		<dc:creator><![CDATA[publisher]]></dc:creator>
				<category><![CDATA[Updates]]></category>
		<category><![CDATA[after-update]]></category>

		<guid isPermaLink="false">http://wiki.centos-webpanel.com/?p=1323</guid>
		<description><![CDATA[Now you can run automatically your custom script after each cwp update. The script format is bash. Script name: /root/.cwp_autoupdate.sh Script run command: sh /root/.cwp_autoupdate.sh CWP will automatically detect if the file exists and run it. This can be also used to replace logo or make your own custom branding changes to cwp user panel [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Now you can run automatically your custom script after each cwp update.</p>
<p>The script format is bash.<br />
Script name: /root/.cwp_autoupdate.sh<br />
Script run command: sh /root/.cwp_autoupdate.sh</p>
<p>CWP will automatically detect if the file exists and run it.</p>
<p>This can be also used to replace logo or make your own custom branding changes to cwp user panel theme on each cwp update.</p>
<p>Example script to replace cwp logo:</p>
<pre>#!/bin/bash
rm -f /usr/local/cwpsrv/var/services/users/cwp_theme/original/img/new_logo_small.png
cp /root/my/new_logo_small.png /usr/local/cwpsrv/var/services/users/cwp_theme/original/img/

</pre>
]]></content:encoded>
			<wfw:commentRss>https://wiki.centos-webpanel.com/run-after-update-script/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
