v3.3.t8
-removed the chown commands from install services function. It will now be up to the user to manage folder permissions.
This commit is contained in:
parent
da941d8d18
commit
bb8a1fad45
|
@ -30,7 +30,7 @@
|
|||
|
||||
using namespace std;
|
||||
|
||||
#define APP_VER "3.3.t7"
|
||||
#define APP_VER "3.3.t8"
|
||||
#define APP_NAME "Motion Watch"
|
||||
#define APP_BIN "mow"
|
||||
#define DATETIME_FMT "yyyyMMddhhmmss"
|
||||
|
|
|
@ -49,8 +49,6 @@ int loadService(const QString &desc, const QString &user, const QString &servNam
|
|||
file.write("WantedBy=multi-user.target\n");
|
||||
file.close();
|
||||
|
||||
if (ret == 0) ret = QProcess::execute("chown", {"-R", user + ":" + user, workDir});
|
||||
if (ret == 0) ret = QProcess::execute("chown", {"-R", user + ":" + user, recPath});
|
||||
if (ret == 0) ret = QProcess::execute("systemctl", {"daemon-reload"});
|
||||
|
||||
if (start)
|
||||
|
|
Loading…
Reference in New Issue
Block a user