<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.geekworm.com/index.php?action=history&amp;feed=atom&amp;title=CommentStreams%3A83b428d802e65a69d747634d2763f056</id>
	<title>CommentStreams:83b428d802e65a69d747634d2763f056 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.geekworm.com/index.php?action=history&amp;feed=atom&amp;title=CommentStreams%3A83b428d802e65a69d747634d2763f056"/>
	<link rel="alternate" type="text/html" href="https://wiki.geekworm.com/index.php?title=CommentStreams:83b428d802e65a69d747634d2763f056&amp;action=history"/>
	<updated>2026-07-28T10:54:55Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.geekworm.com/index.php?title=CommentStreams:83b428d802e65a69d747634d2763f056&amp;diff=32021&amp;oldid=prev</id>
		<title>46.165.138.243: Migrated reply #1871</title>
		<link rel="alternate" type="text/html" href="https://wiki.geekworm.com/index.php?title=CommentStreams:83b428d802e65a69d747634d2763f056&amp;diff=32021&amp;oldid=prev"/>
		<updated>2021-09-21T23:53:24Z</updated>

		<summary type="html">&lt;p&gt;Migrated reply #1871&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Two ways to do this:&lt;br /&gt;
- Add the following two lines to end (before the exit) of /etc/rc.local&lt;br /&gt;
&lt;br /&gt;
# start fan control&lt;br /&gt;
python /home/pi/x735-v2.5/pwm_fan_control.py &amp;amp;&lt;br /&gt;
&lt;br /&gt;
- Install it as a systemd service&lt;br /&gt;
Copy the following text in a file with the name x735-fan.service&lt;br /&gt;
==========================================&lt;br /&gt;
[Unit]&lt;br /&gt;
Description=x735 Fan control&lt;br /&gt;
&lt;br /&gt;
[Service]&lt;br /&gt;
User=root&lt;br /&gt;
WorkingDirectory=/&lt;br /&gt;
ExecStart=/home/pi/x735-v2.5/pwm_fan_control.py&lt;br /&gt;
Restart=always&lt;br /&gt;
&lt;br /&gt;
[Install]&lt;br /&gt;
WantedBy=multi-user.target&lt;br /&gt;
================================================&lt;br /&gt;
Copy the file to the directory /usr/lib/systemd/system/&lt;br /&gt;
With the command&lt;br /&gt;
    systemctl start x735-fan&lt;br /&gt;
the service is started.&lt;br /&gt;
You also have to do the following command that the service is started on a system boot:&lt;br /&gt;
    systemctl enable x735-fan&lt;br /&gt;
systemd also takes care that the service is restarted if it dies.&lt;br /&gt;
This also has the advantage, that if you log in multiple times the script is not always started.&amp;lt;!-- migrated from Comments; original IP: 46.165.138.243 --&amp;gt;&lt;/div&gt;</summary>
		<author><name>46.165.138.243</name></author>
	</entry>
</feed>