Documentation ¶
Index ¶
Constants ¶
View Source
const ConfigPath = "/etc/"
View Source
const ExecPath = "/usr/sbin/"
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 ./immudb service install - Installs the daemon
sudo ./immudb service stop - Stops the daemon
sudo ./immudb service start - Starts initialized daemon
sudo ./immudb service restart - Restarts daemon
sudo ./immudb service uninstall - Removes daemon and its setup
Uninstall immudb after 20 second
sudo ./immudb service install --time 20 immudb`)
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.