Skip to content
Snippets Groups Projects
Commit ec3c53ff authored by Tigran Mkrtchyan's avatar Tigran Mkrtchyan :coffee:
Browse files

cta-dcache: add simple man page

parent 02cfd56c
No related branches found
No related tags found
No related merge requests found
......@@ -60,4 +60,5 @@ set_property(TARGET cta-dcache APPEND PROPERTY INSTALL_RPATH ${PROTOBUF3_RPATH})
install(TARGETS cta-dcache DESTINATION usr/bin)
install (FILES cta-dcache.service DESTINATION etc/systemd/system)
install (FILES cta-dcache.sysconfig DESTINATION /etc/sysconfig RENAME cta-dcache)
\ No newline at end of file
install (FILES cta-dcache.sysconfig DESTINATION /etc/sysconfig RENAME cta-dcache)
install (FILES cta-dcache.1cta DESTINATION /usr/share/man/man1)
\ No newline at end of file
.\" @project The CERN Tape Archive (CTA)
.\" @copyright Copyright(C) 2021 DESY
.\" @license This program is free software: you can redistribute it and/or modify
.\" it under the terms of the GNU General Public License as published by
.\" the Free Software Foundation, either version 3 of the License, or
.\" (at your option) any later version.
.\"
.\" This program is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.\" GNU General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public License
.\" along with this program. If not, see <http://www.gnu.org/licenses/>.
.TH CTA-DCACHE "1cta" "$Date: 2021/10/29 14:09:00 $" CTA "CTA"
.SH NAME
cta-dcache \- CTA frontend for dCache integration
.SH SYNOPSIS
.BI "cta-dcache [OPTIONS]"
.SH DESCRIPTION
\fBcta-dcache\fP is the daemon process providing integration with
dCache storage system.
.P
.SH OPTIONS
.TP
\fB\-p, \-\-port <port>
TCP port used to accept connections from dCache
.TP
\fB\-h, \-\-help
Prints the usage message.
.TP
\fB\-n, \-\-log\-header
Include timestamp and host name into the log messages.
.TP
\fB\-s, \-\-no\-log\-header
Don't include timestamp and host name into the log messages, default behaviour.
.TP
\fB\-v, \-\-version
Print the version number and exit.
.SH FILES
.TP
.B /etc/cta/cta.conf
The CTA configuration file.
.TP
.B /etc/cta/cta-catalogue.conf
The CTA catalog configuration file.
.SH AUTHOR
\fBCTA\fP Team
......@@ -191,6 +191,7 @@ dCache frontend
%attr(0755,root,root) %{_bindir}/cta-dcache
%attr(0644,root,root) /etc/systemd/system/cta-dcache.service
%attr(0644,root,root) /etc/sysconfig/cta-dcache
%attr(0644,root,root) %doc /usr/share/man/man1/cta-dcache.1cta.gz
%post -n cta-dcache
%systemd_post cta-dcache.service
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment