mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-02-01 15:42:29 +00:00
21 lines
836 B
Diff
21 lines
836 B
Diff
--- a/server/server_settings.hpp
|
|
+++ b/server/server_settings.hpp
|
|
@@ -40,7 +40,7 @@
|
|
/// Number of worker threads
|
|
int threads{-1};
|
|
/// PID file, if running as daemon
|
|
- std::string pid_file{"/var/run/snapserver/pid"};
|
|
+ std::string pid_file{"@TERMUX_PREFIX@/var/run/snapserver/pid"};
|
|
/// User when running as deaemon
|
|
std::string user{"snapserver"};
|
|
/// Group when running as deaemon
|
|
@@ -194,7 +194,7 @@
|
|
/// Audio streaming port
|
|
size_t port{1704};
|
|
/// Directory for stream plugins
|
|
- std::filesystem::path plugin_dir{"/usr/share/snapserver/plug-ins"};
|
|
+ std::filesystem::path plugin_dir{"@TERMUX_PREFIX@/share/snapserver/plug-ins"};
|
|
/// Stream sources
|
|
std::vector<std::string> sources;
|
|
/// Default codec
|