Merge branch 'main' of https://github.com/rerdavies/pipedal
This commit is contained in:
+2
-3
@@ -350,8 +350,7 @@ void InstallJackService()
|
||||
}
|
||||
// lock account for login.
|
||||
silentSysExec("passwd -l " JACK_SERVICE_ACCOUNT_NAME);
|
||||
}
|
||||
|
||||
}
|
||||
// Add to audio groups.
|
||||
// sysExec(USERMOD_BIN " -a -G " JACK_SERVICE_GROUP_NAME " " JACK_SERVICE_ACCOUNT_NAME);
|
||||
sysExec(USERMOD_BIN " -a -G" AUDIO_SERVICE_GROUP_NAME " " JACK_SERVICE_ACCOUNT_NAME);
|
||||
@@ -455,7 +454,7 @@ void Install(const std::filesystem::path &programPrefix, const std::string endpo
|
||||
}
|
||||
// lock account for login.
|
||||
silentSysExec("passwd -l " SERVICE_ACCOUNT_NAME);
|
||||
}
|
||||
}
|
||||
|
||||
// Add to audio groups.
|
||||
sysExec(USERMOD_BIN " -a -G " AUDIO_SERVICE_GROUP_NAME " " SERVICE_ACCOUNT_NAME);
|
||||
|
||||
Reference in New Issue
Block a user