[X2Go-Commits] [x2goserver] 07/30: x2goserver/sbin/x2gocleansessions: rework manpage/POD.

git-admin at x2go.org git-admin at x2go.org
Thu Dec 13 11:22:47 CET 2018


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository x2goserver.

commit 6fa680ae896857124ca69f8e3023940ddacda4f2
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Thu Dec 6 04:16:01 2018 +0100

    x2goserver/sbin/x2gocleansessions: rework manpage/POD.
---
 debian/changelog                  |  1 +
 x2goserver/sbin/x2gocleansessions | 29 ++++++++++++++++-------------
 2 files changed, 17 insertions(+), 13 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 764223e..05a9893 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -20,6 +20,7 @@ x2goserver (4.1.0.4-0x2go1) UNRELEASED; urgency=medium
     - x2goserver/lib: new x2goisint wrapper.
     - x2goserver/lib/x2gois{int,true}: add newlines to (error) output.
     - x2goserver/lib/x2gois{int,true}: add optional warnings.
+    - x2goserver/sbin/x2gocleansessions: rework manpage/POD.
   * debian/control:
     + Build-depend upon lsb-release for distro version detection.
   * debian/x2goserver.manpages:
diff --git a/x2goserver/sbin/x2gocleansessions b/x2goserver/sbin/x2gocleansessions
index 4aa67f7..4852137 100755
--- a/x2goserver/sbin/x2gocleansessions
+++ b/x2goserver/sbin/x2gocleansessions
@@ -373,18 +373,28 @@ x2gocleansessions - X2Go Server Cleanup Daemon
 
 =head1 SYNOPSIS
 
-x2gocleansessions [options]
+=over
 
-  Options:
-    --help|-h|-?            brief help message
-    --man                   full documentation
-    --debug|-d              enable debugging and don't daemonize
+=item B<x2gocleansessions> B<--help>|B<-h>|B<-?>
+
+=item B<x2gocleansessions> B<--man>
+
+=item B<x2gocleansessions> [B<--debug>|B<-d>]
+
+=back
+
+=head1 DESCRIPTION
+
+B<x2gocleansessions> is run as a service on X2Go servers to handle the cleanup
+of stale sessions and synchronizing database state with on-disk state.
+
+B<x2gocleansessions> must be run (as a service) with root privileges.
 
 =head1 OPTIONS
 
 =over 8
 
-=item B<--help>|B<-?>|B<-h>
+=item B<--help>|B<-h>|B<-?>
 
 Print a brief help message and exits.
 
@@ -399,13 +409,6 @@ instead of daemonizing.
 
 =back
 
-=head1 DESCRIPTION
-
-B<x2gocleansessions> is run as a service on X2Go servers to handle the cleanup
-of stale sessions.
-
-B<x2gocleansessions> must be run (as a service) with root privileges.
-
 =head1 AUTHOR
 
 This manual has been written by Mike Gabriel <mike.gabriel at das-netzwerkteam.de>

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2goserver.git


More information about the x2go-commits mailing list