[lug] Anyone understand systemd?

George Sexton georges at mhsoftware.com
Sat Feb 11 16:46:28 MST 2012



On 2/11/12 2:48 PM, Orion Poplawski wrote:
> On 02/11/2012 02:38 PM, George Sexton wrote:
>> I just upgraded a router to OpenSUSE 12.1. They replaced the SystemV
>> init system with systemd.
>>
>> The one thing I can't figure out is how to transport an inittab entry
>> that worked in SystemV, and create something similar in systemd.
>>
>> I had a command in my inittab that was:
>>
>> /usr/bin/ssh -T -e none hostname
>>
>> that setup a simple SSH tunnel to my production mail server. I can't
>> figure out how to get it working. I've setup a systemd service entry,
>> but the command keeps failing with status 1, and I don't know why.
>>
>>
> systemctl status<service>    might give you more info

Exited with status=1.

>
> running ssh -vvv in your service file might give you more info too.
>
I think I've found it. I added -N to the command line, and that seems to 
do what I want.


-- 
George Sexton
MH Software, Inc.
303 438-9585
http://www.mhsoftware.com/




More information about the LUG mailing list