*** This bug is a duplicate of bug 882110 ***
    https://bugs.launchpad.net/bugs/882110

Public bug reported:

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

** Affects: stunnel4 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug precise running-unity

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1265153

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/stunnel4/+bug/1265153/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to