diff options
author | Marcel Saegebarth <marc@mos6581.de> | 2015-02-23 18:31:39 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-02-28 03:01:51 +0700 |
commit | 86fa2f111f4904da8199c9ec812450e9a79d1822 (patch) | |
tree | 16427bac032b2a9d81b8119cde94a345c8bda1d1 /network/seafile-server/patch-seafile-controller-pid-path.diff | |
parent | 8fdad9c92d349858aa0487025c96d3f7c540a35f (diff) | |
download | slackbuilds-86fa2f111f4904da8199c9ec812450e9a79d1822.tar.gz |
network/seafile-server: Added garbage collector and fix long option.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/seafile-server/patch-seafile-controller-pid-path.diff')
-rw-r--r-- | network/seafile-server/patch-seafile-controller-pid-path.diff | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/network/seafile-server/patch-seafile-controller-pid-path.diff b/network/seafile-server/patch-seafile-controller-pid-path.diff new file mode 100644 index 0000000000..b9698206ea --- /dev/null +++ b/network/seafile-server/patch-seafile-controller-pid-path.diff @@ -0,0 +1,11 @@ +--- controller/seafile-controller.c.orig 2015-02-05 13:00:40.096813074 +0100 ++++ controller/seafile-controller.c 2015-02-05 13:03:44.628487779 +0100 +@@ -576,7 +576,7 @@ + static void + init_pidfile_path (SeafileController *ctl) + { +- char *pid_dir = g_build_filename (topdir, "pids", NULL); ++ char *pid_dir = g_build_filename (ctl->seafile_dir, "pids", NULL); + if (!g_file_test(pid_dir, G_FILE_TEST_EXISTS)) { + if (g_mkdir(pid_dir, 0777) < 0) { + seaf_warning("failed to create pid dir %s: %s", pid_dir, strerror(errno)); |