<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:media="http://search.yahoo.com/mrss/"><channel><title><![CDATA[chkconfig - All your code are belong to us]]></title><description><![CDATA[Thoughts, stories and ideas on code and technology in general.<br>Blog title inspired by <a href="https://en.wikipedia.org/wiki/All_your_base_are_belong_to_us" target="_blank">this meme</a>]]></description><link>https://allurcode.com/</link><image><url>https://allurcode.com/favicon.png</url><title>chkconfig - All your code are belong to us</title><link>https://allurcode.com/</link></image><generator>Ghost 4.48</generator><lastBuildDate>Fri, 17 Apr 2026 19:42:48 GMT</lastBuildDate><atom:link href="https://allurcode.com/tag/chkconfig/rss/" rel="self" type="application/rss+xml"/><ttl>60</ttl><item><title><![CDATA[Custom linting rules in NuxtJS and eslint]]></title><description><![CDATA[<!--kg-card-begin: markdown--><p><a href="https://nuxtjs.org/">NuxtJS</a> is a fantastic framework for creating <a href="https://vuejs.org/">VueJS</a> applications. It comes bundled with Vue Router, Vuex, Vue Server Renderer and many more. All configured for you out of the box.<br>
The problem I have with it, it comes with linting options set to force 2 spaces as indentation. I&apos;</p>]]></description><link>https://allurcode.com/custom-linting-rules-in-nuxtjs-and-eslint/</link><guid isPermaLink="false">5c62dae2a8a0ce0692c7bfc6</guid><category><![CDATA[nuxtjs]]></category><category><![CDATA[vuejs]]></category><category><![CDATA[eslint]]></category><category><![CDATA[chkconfig]]></category><dc:creator><![CDATA[Wojtek]]></dc:creator><pubDate>Sun, 07 Jul 2019 17:23:01 GMT</pubDate><content:encoded><![CDATA[<!--kg-card-begin: markdown--><p><a href="https://nuxtjs.org/">NuxtJS</a> is a fantastic framework for creating <a href="https://vuejs.org/">VueJS</a> applications. It comes bundled with Vue Router, Vuex, Vue Server Renderer and many more. All configured for you out of the box.<br>
The problem I have with it, it comes with linting options set to force 2 spaces as indentation. I&apos;m a &quot;tab&quot; guy, so making me use spaces for indentation drove me crazy. It took me a while to make eslint understand I want different rules in my project. Below is a version of <code>.eslintrc.js</code> file that worked for me.</p>
<p>Obviously, I assume you&apos;ve selected eslint while installing NuxtJS, so you have all the necessary modules installed. Below config has been tested with (at the time of writing this post) latest version of NuxtJS 2.8.1</p>
<pre><code class="language-javascript">module.exports = {
	root: true,
	env: {
		browser: true,
		node: true
	},
	parserOptions: {
		parser: &apos;babel-eslint&apos;
	},
	extends: [
		&apos;@nuxtjs&apos;,
		&apos;plugin:nuxt/recommended&apos;
	],
	// add your custom rules here
	rules: {
		&apos;nuxt/no-cjs-in-config&apos;: &apos;off&apos;,
		&apos;no-console&apos;: process.env.NODE_ENV === &apos;production&apos; ? &apos;error&apos; : &apos;off&apos;,
		&apos;no-debugger&apos;: process.env.NODE_ENV === &apos;production&apos; ? &apos;error&apos; : &apos;off&apos;,
		&apos;vue/html-indent&apos;: [&apos;error&apos;, &apos;tab&apos;],
		&apos;vue/html-closing-bracket-newline&apos;: &apos;off&apos;,
		&apos;indent&apos;: [2, &apos;tab&apos;],
		&apos;no-tabs&apos;: &apos;off&apos;
	}
}
</code></pre>
<p>Go to official <a href="https://eslint.vuejs.org/rules/">eslint VueJS plugin page</a> for documentation on other rules that might suite your taste.</p>
<!--kg-card-end: markdown-->]]></content:encoded></item><item><title><![CDATA[How to make sure service is running after restart]]></title><description><![CDATA[<!--kg-card-begin: markdown--><p>If you want to avoid situation when after server restart you have to start lots of services manually, a little thing like <code>chkconfig</code> would come in handy.<br>
First you might want to take a look at a list of services handled by <em>chkconfig</em>:</p>
<pre><code class="language-bash">chkconfig --list
</code></pre>
<p>You should see something like</p>]]></description><link>https://allurcode.com/how-to-make-sure-service-is-running-after-restart/</link><guid isPermaLink="false">5b7b0aa2b52b43084c9ea11c</guid><category><![CDATA[bash]]></category><category><![CDATA[chkconfig]]></category><category><![CDATA[Linux]]></category><dc:creator><![CDATA[Wojtek]]></dc:creator><pubDate>Wed, 24 Mar 2010 20:18:09 GMT</pubDate><content:encoded><![CDATA[<!--kg-card-begin: markdown--><p>If you want to avoid situation when after server restart you have to start lots of services manually, a little thing like <code>chkconfig</code> would come in handy.<br>
First you might want to take a look at a list of services handled by <em>chkconfig</em>:</p>
<pre><code class="language-bash">chkconfig --list
</code></pre>
<p>You should see something like this:</p>
<pre><code class="language-bash">mysql 0:off 1:off 2:on 3:on 4:on 5:on 6:off
named 0:off 1:off 2:off 3:on 4:off 5:off 6:off
sshd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
</code></pre>
<p>To add for example mysql to autostart list simply type:</p>
<pre><code class="language-bash">chkconfig --add mysql on
</code></pre>
<p>To remove a service from autostart list type:</p>
<pre><code class="language-bash">chkconfig --del mysql
</code></pre>
<p>For full list of <code>chkconfig</code> options go <a href="http://linuxcommand.org/man_pages/chkconfig8.html">here</a>.</p>
<!--kg-card-end: markdown-->]]></content:encoded></item></channel></rss>