Documentation ¶
Index ¶
Constants ¶
View Source
const ConfigPath = "/etc/"
View Source
const ExecPath = "/usr/sbin/"
View Source
const ManPath = "/usr/share/man/man1/"
View Source
const OSGroup = "immu"
View Source
const OSUser = "immu"
Variables ¶
View Source
var StartUpConfig = fmt.Sprintf(`[Unit] Description={{.Description}} Requires={{.Dependencies}} After={{.Dependencies}} [Service] PIDFile=/var/lib/immudb/{{.Name}}.pid ExecStartPre=/bin/rm -f /var/lib/immudb/{{.Name}}.pid ExecStart={{.Path}} {{.Args}} Restart=on-failure User=%s Group=%s [Install] WantedBy=multi-user.target `, OSUser, OSGroup)
View Source
var UsageDet = fmt.Sprintf(`Config file is present in %s. Log file is in /var/log/immudb`, ConfigPath)
UsageDet details on config and log file on specific os
View Source
var UsageExamples = fmt.Sprintf(`Install the immutable database
sudo ./immuadmin service immudb install
Install the REST proxy client with rest interface. We discourage to install immugw in the same machine of immudb in order to respect the security model of our technology.
This kind of istallation is suggested only for testing purpose
sudo ./immuadmin service immugw install
It's possible to provide a specific executable
sudo ./immuadmin service immudb install --local-file immudb.exe
Uninstall immudb after 20 second
sudo ./immuadmin service immudb uninstall --time 20`)
UsageExamples usage examples for linux
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.