added shell attribute to unit object definition to allow more flexibility; defaults to sh

This commit is contained in:
Master
2020-07-01 22:30:51 -04:00
parent c9567f20e4
commit c4828d506b
8 changed files with 62 additions and 18 deletions

View File

@@ -67,6 +67,10 @@ private:
// not intended for protected accounts, handle your own security
std::string group;
// shell to use for env
std::string shell;
public:
Unit( int LOG_LEVEL );
@@ -86,6 +90,7 @@ public:
bool get_rectify();
std::string get_user();
std::string get_group();
std::string get_shell();
private:
int LOG_LEVEL;