|
RADLib
RADical C++ application framework
|
Systemd service unit description. More...
#include <RADService.h>
Public Attributes | |
| std::string | name |
| Unit name without .service. More... | |
| std::string | description |
| Description text. More... | |
| std::string | execStart |
| Executable command. More... | |
| std::string | workingDirectory |
| Optional working directory. More... | |
| std::map< std::string, std::string > | environment |
| Environment key/value pairs. More... | |
| RestartPolicy | restart = RestartPolicy::OnFailure |
| Restart policy. More... | |
| int | watchdogSec = 0 |
| Watchdog timeout seconds; 0 disables WatchdogSec. More... | |
| std::string | user |
| User name for service execution. More... | |
| std::string | wantedBy = "multi-user.target" |
| WantedBy target. More... | |
Systemd service unit description.
| std::string RADService::ServiceUnit::description |
Description text.
| std::map<std::string, std::string> RADService::ServiceUnit::environment |
Environment key/value pairs.
| std::string RADService::ServiceUnit::execStart |
Executable command.
| std::string RADService::ServiceUnit::name |
Unit name without .service.
| RestartPolicy RADService::ServiceUnit::restart = RestartPolicy::OnFailure |
Restart policy.
| std::string RADService::ServiceUnit::user |
User name for service execution.
| std::string RADService::ServiceUnit::wantedBy = "multi-user.target" |
WantedBy target.
| int RADService::ServiceUnit::watchdogSec = 0 |
Watchdog timeout seconds; 0 disables WatchdogSec.
| std::string RADService::ServiceUnit::workingDirectory |
Optional working directory.