/etc/init.d/stunnel4 doesn't support the status command

Bug #1265153 reported by Andrew Schulman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
stunnel4 (Ubuntu)
New
Undecided
Unassigned

Bug Description

It would be nice if I could run

    service stunnel4 status

and get a return status that would tell me if the service was up. Then in order to check in a cron job that the service was up or restart it if it wasn't, I could just run

    service stunnel4 status || service stunnel4 start

instead of something more fiddly and complicated like

     [ -f /var/lib/stunnel4/stunnel4.pid ] && ps `cat /var/lib/stunnel4/stunnel4.pid` || service stunnel4 start

Many other services' init.d scripts support the status option.

Thanks!

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: stunnel4 3:4.42-1
ProcVersionSignature: Ubuntu 3.2.0-57.87-generic 3.2.52
Uname: Linux 3.2.0-57-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu17.6
Architecture: amd64
Date: Tue Dec 31 03:40:31 2013
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
MarkForUpload: True
SourcePackage: stunnel4
UpgradeStatus: Upgraded to precise on 2013-01-13 (351 days ago)
modified.conffile..etc.stunnel.stunnel.conf: [deleted]
mtime.conffile..etc.default.stunnel4: 2013-12-21T13:34:05.076115

Revision history for this message
Andrew Schulman (andrex) wrote :
Revision history for this message
Andrew Schulman (andrex) wrote :

I'm sorry, I see that this is a duplicate of #882110. I'll close it.

Changed in stunnel4 (Ubuntu):
status: New → Invalid
status: Invalid → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.