mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-23 05:56:17 +02:00
Settings can be overwritten on command line
make pidfile and persistant data dir confgurable
This commit is contained in:
parent
0c25a7a42d
commit
7376c7709c
8 changed files with 45 additions and 21 deletions
|
@ -191,6 +191,7 @@ int main(int argc, char** argv)
|
|||
group = user_group[1];
|
||||
}
|
||||
daemon = std::make_unique<Daemon>(user, group, pidFile);
|
||||
SLOG(NOTICE) << "daemonizing" << std::endl;
|
||||
daemon->daemonize();
|
||||
if (processPriority < -20)
|
||||
processPriority = -20;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue