termux-packages/packages/snapcast-server/client-snapclient.cpp.patch
2022-02-01 05:26:04 +09:00

12 lines
430 B
Diff

--- a/client/snapclient.cpp
+++ b/client/snapclient.cpp
@@ -312,7 +312,7 @@
std::unique_ptr<Daemon> daemon;
if (daemonOption->is_set())
{
- string pidFile = "/var/run/snapclient/pid";
+ string pidFile = "@TERMUX_PREFIX@/var/run/snapclient/pid";
if (settings.instance != 1)
pidFile += "." + cpt::to_string(settings.instance);
string user;