File: openvpn3-admin-init-config.8.rst.in

package info (click to toggle)
openvpn3-client 24.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 19,384 kB
  • sloc: cpp: 180,128; python: 11,591; ansic: 1,878; sh: 1,767; java: 402; lisp: 81; makefile: 44
file content (66 lines) | stat: -rw-r--r-- 2,064 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
==========================
openvpn3-admin-journal
==========================

---------------------------------------------------
OpenVPN 3 Linux Administration - journal log reader
---------------------------------------------------

:Manual section: 8
:Manual group: OpenVPN 3 Linux

SYNOPSIS
========
| ``openvpn3-admin init-config`` ``[OPTIONS]``
| ``openvpn3-admin init-config`` ``-h`` | ``--help``


DESCRIPTION
===========
This is a configuration helper command, which will attempt to auto-detect
features on the running system and configure OpenVPN 3 Linux accordingly.

The state directory used by the OpenVPN 3 Linux services will also have
the ownership and access adjusted to match the requirements.

For systems with SELinux available, it will also ensure the SELinux file
contexts of directories needed by OpenVPN 3 Linux services are correctly
labelled.

By default, this command will not write any configuration files to disk.
Only the state directory will be created if missing in addition to file and
directory access being properly setup.

When this command is instructed to write configuration files, it will
only do this if no configuration files are present.  If this command is
forced to write configuration files, it will only change settings needed
to be modified.  All other changes should be preserved.

*NOTE* This command must be run as `root`.

OPTIONS
=======

-h, --help      Print  usage and help details to the terminal

--write-configs
                Write configuration files to disk with settings
                found needed.  It will not overwrite any existing
                configuration files by default.


--force
                Force this command to modify existing configuration files.

--state-dir DIRNAME
                Set the directory where OpenVPN 3 Linux will store the
                state and configuration files.  By default this directory
                is `@OPENVPN_STATEDIR@`.


SEE ALSO
========

``openvpn3-admin-log-service``\(8)
``openvpn3-admin-netcfg-service``\(8)
``openvpn3-service-log``\(8)