mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-19 03:56:14 +02:00
users for snapclient and snapserver daemon
This commit is contained in:
parent
88cf84aa50
commit
0f2359c971
11 changed files with 64 additions and 22 deletions
|
@ -144,7 +144,7 @@ int main(int argc, char* argv[])
|
|||
if (daemonOption.isSet())
|
||||
{
|
||||
#ifdef HAS_DAEMON
|
||||
daemonize("snapcast", "audio", "/var/run/snapserver/pid");
|
||||
daemonize("snapserver", "nogroup", "/var/run/snapserver/pid");
|
||||
if (processPriority < -20)
|
||||
processPriority = -20;
|
||||
else if (processPriority > 19)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue