<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=5987&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Correct usage of openrc with python scripts]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=5987</link>
		<description><![CDATA[The most recent posts in Correct usage of openrc with python scripts.]]></description>
		<lastBuildDate>Thu, 14 Sep 2023 11:32:37 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Correct usage of openrc with python scripts]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=44300#p44300</link>
			<description><![CDATA[<p>I confirm that openrc-run is located in /sbin</p>]]></description>
			<author><![CDATA[dummy@example.com (holala)]]></author>
			<pubDate>Thu, 14 Sep 2023 11:32:37 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=44300#p44300</guid>
		</item>
		<item>
			<title><![CDATA[Re: Correct usage of openrc with python scripts]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=44285#p44285</link>
			<description><![CDATA[<p>Im not real sure if this will help but i run artixlinux openrc and openrc scripts are called using the below shebang. Does devuan openrc have that script in /usr/bin ?</p><div class="codebox"><pre><code>#!/usr/bin/openrc-run</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (soren)]]></author>
			<pubDate>Thu, 14 Sep 2023 09:13:09 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=44285#p44285</guid>
		</item>
		<item>
			<title><![CDATA[Correct usage of openrc with python scripts]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=44282#p44282</link>
			<description><![CDATA[<p>Hello.</p><p>I have pepared a simple openrc script to run OpenWebRX. Here it is:</p><div class="codebox"><pre><code>#!/sbin/openrc-run

OWRX_PATH=&quot;/home/openwebrx/openwebrx&quot;
PATH=$PATH:/home/openwebrx/openwebrx/
name=&quot;OpenWebRX&quot;
#procname=python3
command_user=&quot;openwebrx:openwebrx&quot;
command=&quot;/usr/bin/python3 /home/openwebrx/openwebrx/openwebrx.py&quot;
command_args=&quot;&gt;&gt; /home/openwebrx/log/owrx.log 2&gt;&amp;1&quot;
#output_log=&quot;$OWRX_PATH/../log/owrx.std&quot;
#error_log=$OWRX_PATH/../log/owrx.err
command_background=true
pidfile=&quot;/run/${RC_SVCNAME}.pid&quot;</code></pre></div><p>The problem is that openrc doesn&#039;t obey the </p><div class="codebox"><pre><code>command_user</code></pre></div><p> parameter and the proccess is ran by root.</p><p>Would you please give me a hint on how to solve this?</p><p>PS: By the way, the command_args seem not to be included also, when I check with </p><div class="codebox"><pre><code>ps</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (holala)]]></author>
			<pubDate>Thu, 14 Sep 2023 07:11:17 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=44282#p44282</guid>
		</item>
	</channel>
</rss>
