termux-packages/packages/snapcast-server/client-snapclient.cpp.patch

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;