<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=2714&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [solved] sysvinit: Most simple way to start command as user]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=2714</link>
		<description><![CDATA[The most recent posts in [solved] sysvinit: Most simple way to start command as user.]]></description>
		<lastBuildDate>Sat, 16 Mar 2019 14:38:00 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [solved] sysvinit: Most simple way to start command as user]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=14901#p14901</link>
			<description><![CDATA[<p>Many thanks for all those hints. I didn&#039;t know about <span class="bbc">init-d-script</span> and it looked promising, however, I didn&#039;t find a way to start the program as user with this mechanism.</p>]]></description>
			<author><![CDATA[dummy@example.com (kuleszdl)]]></author>
			<pubDate>Sat, 16 Mar 2019 14:38:00 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=14901#p14901</guid>
		</item>
		<item>
			<title><![CDATA[Re: [solved] sysvinit: Most simple way to start command as user]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=14704#p14704</link>
			<description><![CDATA[<p>Look for <span class="bbc">@reboot</span> in <span class="bbc">man 5 crontab</span>.<br />You can hook up auto-start jobs there without ever needing root&#039;s superpowers.<br />So it&#039;s somehow simpler than with sysvinit.</p><p>If you want to start a job logging to stdout or somewhen needing input (I use that for e.g. <span class="bbc">syncthing</span>), start <span class="bbc">screen</span> with <span class="bbc">@reboot</span> and wire the desired job(s) into <span class="bbc">~/.screenrc</span> (similarly with <span class="bbc">tmux</span>).</p>]]></description>
			<author><![CDATA[dummy@example.com (yeti)]]></author>
			<pubDate>Sat, 09 Mar 2019 15:16:49 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=14704#p14704</guid>
		</item>
		<item>
			<title><![CDATA[Re: [solved] sysvinit: Most simple way to start command as user]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=14702#p14702</link>
			<description><![CDATA[<div class="quotebox"><cite>kuleszdl wrote:</cite><blockquote><div><p>It would be great if the proposed solution would work for at least sysvinit and openrc without modifications.</p></div></blockquote></div><p>If you do write a script in init.d, making it LSB compliant (the ### BEGIN INIT INFO....### END INIT INFO stuff at the top) will ensure it runs properly in openrc.</p>]]></description>
			<author><![CDATA[dummy@example.com (dxrobertson)]]></author>
			<pubDate>Sat, 09 Mar 2019 14:31:39 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=14702#p14702</guid>
		</item>
		<item>
			<title><![CDATA[Re: [solved] sysvinit: Most simple way to start command as user]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=14700#p14700</link>
			<description><![CDATA[<p>You can use init-d-script (man init-d-script) which encapsulates most of the complexity of dealing with writing an init-script. This is an almost unknown piece of the sysvinit package, that is not as widely used as it probably should be.</p><p>HTH</p><p>KatolaZ</p><p>Edit: actually, if what you need to run is not properly a daemon, rc.local might be the best solution.</p>]]></description>
			<author><![CDATA[dummy@example.com (KatolaZ)]]></author>
			<pubDate>Sat, 09 Mar 2019 14:01:48 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=14700#p14700</guid>
		</item>
		<item>
			<title><![CDATA[[solved] sysvinit: Most simple way to start command as user]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=14699#p14699</link>
			<description><![CDATA[<p>Hi,</p><p>I am looking for a way to run a command as (regular) user at bootup. It&#039;s a &quot;fire-and-forget&quot; command and not a daemon (lxc-autostart, starts unprivileged containers). I wonder what the best approach would be to accomplish this and considered the following:</p><p>- write a minimal init.d script? (If yes: Is there a good template?)<br />- run it from rc.local (not what I actually want)</p><p>It would be great if the proposed solution would work for at least sysvinit and openrc without modifications.</p><p>Thank you in advance.</p>]]></description>
			<author><![CDATA[dummy@example.com (kuleszdl)]]></author>
			<pubDate>Sat, 09 Mar 2019 13:31:27 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=14699#p14699</guid>
		</item>
	</channel>
</rss>
