help = _('Path of state file (different to configuration)'),
)
+ self.parser.add_option(
+ '--pid-file',
+ '-P',
+ dest = "pidfile",
+ metavar = 'FILE',
+ help = _('Path of PID file (different to configuration)'),
+ )
+
self.parser.add_option(
'--mail',
'-m',
verbose = 0,
force = False,
state_file = None,
+ pid_file = None,
mail_cmd = None,
local_dir = None,
):
@type force: bool
@param state_file: Path of state file (different to configuration)
@type state_file: str or None
+ @param pid_file: Path of PID file (different to configuration)
+ @type pid_file: str or None
@param mail_cmd: command to send mail (instead of using
the Phyton email package)
@type mail_cmd: str or None
@type: str
'''
+ self.pid_file = pid_file
+ '''
+ @ivar: Path of PID file (from commandline or from configuration)
+ @type: str
+ '''
+
self.mail_cmd = mail_cmd
'''
@ivar: command to send mail (instead of using the Phyton email package)
'mail_cmd': self.mail_cmd,
'scripts': self.scripts,
'state_file': self.state_file,
+ 'pid_file': self.pid_file,
'test': self.test,
'verbose': self.verbose,
}
msgid "Path of state file (different to configuration)"
msgstr "Pfad zur Statusdatei (im Unterschied zur Konfiguration)"
+#: LogRotateGetopts.py:228
+msgid "Path of PID file (different to configuration)"
+msgstr "Pfad zur PID-Datei (im Unterschied zur Konfiguration)"
+
#: LogRotateGetopts.py:233
msgid "Command to send mail (instead of using the Phyton email package)"
msgstr "Befehl zum Mailversand (anstelle der Verwendung des Python email-Paketes"
msgid "Path of state file (different to configuration)"
msgstr ""
+#: LogRotateGetopts.py:228
+msgid "Path of PID file (different to configuration)"
+msgstr ""
+
#: LogRotateGetopts.py:233
msgid "Command to send mail (instead of using the Phyton email package)"
msgstr ""