On Thu, 13 Aug 2009 09:53:18 -0500, Dale wrote:
> Question. Could I put a command that changes the divisor for my fan
> speeds here? It would look something like this:
>
> echo 8 > /sys/devices/platform/w83627hf.656/fan1_div
>
> Would that work or does it have to be a service?
It's just a she
Neil Bothwick wrote:
> On Wed, 12 Aug 2009 16:53:28 -0700, Grant wrote:
>
>
>> Hmmm, it didn't come back up with the server. I have this in
>> /etc/init.d/rc.local:
>>
>
> My mistake, I misread the path you were using. You shouldn't
> change /etc/init.d/rc.local, you put your commands in
>
>> Hmmm, it didn't come back up with the server. I have this in
>> /etc/init.d/rc.local:
>
> My mistake, I misread the path you were using. You shouldn't
> change /etc/init.d/rc.local, you put your commands in
> the start or stop functions in /etc/conf.d/local.
>
> If you use baselayout-1, the com
=== On Wed, 08/12, Neil Bothwick wrote: ===
> start() {
> su - user -c /path/to/program/binary
> }
===
That works as long as the binary forks and runs as a daemon. If not,
you will probably have to use the start-stop-daemon helper program.
-- Keith Dart
--
--
Keith Dar
On Wed, 12 Aug 2009 16:53:28 -0700, Grant wrote:
> Hmmm, it didn't come back up with the server. I have this in
> /etc/init.d/rc.local:
My mistake, I misread the path you were using. You shouldn't
change /etc/init.d/rc.local, you put your commands in
the start or stop functions in /etc/conf.d/lo
>> I run one program which needs to be started as a particular user
>> whenever the system comes up, but there is no ebuild. Is this the
>> Gentoo way?
>>
>> # cat /etc/init.d/rc.local
>> #!/sbin/runscript
>>
>> start() {
>> su user
>> /path/to/program/binary
>> }
>
> Yes, or you could use
>
> sta
On Wednesday 12 August 2009 23:02:58 Neil Bothwick wrote:
> C: (n.) the language following A and B. The world still awaits D and
> E. By Z, it may be acceptable for general use.
I sympathise with that. Nearly 30 years ago I found it easier to write in
assembler than C. Nowadays I don't program
On Wed, 12 Aug 2009 14:40:49 -0700, Grant wrote:
> I run one program which needs to be started as a particular user
> whenever the system comes up, but there is no ebuild. Is this the
> Gentoo way?
>
> # cat /etc/init.d/rc.local
> #!/sbin/runscript
>
> start() {
> su user
> /path/to/program/bin
I run one program which needs to be started as a particular user
whenever the system comes up, but there is no ebuild. Is this the
Gentoo way?
# cat /etc/init.d/rc.local
#!/sbin/runscript
start() {
su user
/path/to/program/binary
}
- Grant
9 matches
Mail list logo