From 13b99216808432a58012bd2a2982117acedc1d41 Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Sat, 20 Jun 2015 16:13:40 -0500 Subject: [PATCH] Modify zmsystemctl pod documentation --- scripts/zmsystemctl.pl.in | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/scripts/zmsystemctl.pl.in b/scripts/zmsystemctl.pl.in index c825d891b..75acae242 100644 --- a/scripts/zmsystemctl.pl.in +++ b/scripts/zmsystemctl.pl.in @@ -31,10 +31,15 @@ zmsystemctl.pl - ZoneMinder systemctl wrapper =head1 DESCRIPTION -This is a wrapper script that allows zoneminder to start and stop itself -in a manner that keeps it in-sync with systemd. This script is intended -to be called internally by zoneminder and may not give the desired results -if run from the command line. +This script allows an unpriveledged user to start, stop, or restart the +zoneminder service on a system running systemd. It does this by redirecting +commands through pkexec, which checks the available polkit policy files. The +default policy file grants the system web account user permission. This can be +changed or expanded by modifying the policy file. See man polkit for details. + +=head1 SEE ALSO + +polkit(8), pkexec(1) =cut use warnings;