Modify

Opened 5 years ago

Last modified 4 years ago

#12879 new defect

If config_foreach is used, the start-stop-daemon should not be used (autossh)

Reported by: anonymous Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: autossh Cc:

Description

Currently, the start-stop-daemon prevents the multiple execution of the autossh command, although the init script /etc/init.d/autossh uses the "config_foreach" to allow multiple tunnel.

Therefore, the line
start_service /usr/sbin/autossh -M ${monitorport:-20000} -f ${ssh}
should be changed in something like
/usr/sbin/autossh -M ${monitorport:-20000} -f ${ssh}

service_stop will still kill all autossh tunnel, although maybe it should not be used with background processes which were not created using start_service

Attachments (0)

Change History (1)

comment:1 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.