Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Possible Duplicate:
Add item to inittab on OpenSuse 12.1

I have the following entry in my /etc/inittab (on OpenSuse 12.1):

gp:2345:respawn:/usr/local/gpm/bin/gpsrvd

Which won't execute no matter what I try to do.

  • comment it out
  • run init q
  • uncomment it
  • run init q again

Still it wont run!

I then run it manually as root:

lorraine:/home/joseph # /usr/local/gpm/bin/gpsrvd &
[1] 5646

and it runs :

lorraine:/home/joseph # ps aux | grep gpsr
root      5646  0.0  0.0  45960  2276 pts/0    S    12:24   0:00 /usr/local/gpm/bin/gpsrvd

So, what could be different when running this via init? Does the init behavior vary in 12.1 that it was on earlier versions of OpenSuse?

Thanks in advance for constructive answers...

share|improve this question

marked as duplicate by Ulrich Dangel, sr_, Gilles, Renan, Stéphane Gimenez Aug 16 '12 at 14:40

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

add comment

1 Answer 1

up vote 3 down vote accepted

OpenSuse 12.1 has switched to systemd which doesn't use /etc/inittab anymore but /etc/systemd/ with separate configuration files instead.

share|improve this answer
    
thanks I've tried checking the docs for how I might do this in the new systemd world, but can't seem to make any progress. All I can see is docs dealing with services, sockets, daemons, etc. But what about emulating / replacing inittab usecases like this one? –  nemesisfixx Aug 6 '12 at 13:46
1  
@nemesisfixx see unix.stackexchange.com/a/43176/8979 for details, it is basically the exact same question –  Ulrich Dangel Aug 6 '12 at 14:34
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.