payment: note that Stripe has instituted an additional 1% fee for non-US cards
[hcoop/portal.git] / stats.sml
index 1e61f2d..e8a9edf 100644 (file)
--- a/stats.sml
+++ b/stats.sml
@@ -1,8 +1,8 @@
 structure Stats :> STATS =
 struct
-   val webbw = "/etc/stats/webbw"
-   val webbw_last = "/etc/stats/webbw.last"
-   val webbw_last2 = "/etc/stats/webbw.last2"
+   val webbw = Config.statsRoot ^ "webbw"
+   val webbw_last = Config.statsRoot ^ "webbw.last"
+   val webbw_last2 = Config.statsRoot ^ "webbw.last2"
 
    type host = {ssl : bool,
                hostname : string,
@@ -112,7 +112,7 @@ struct
 
     fun getDiskUsage () =
        let
-           val proc = Unix.execute ("/bin/sh", ["-c", "/usr/bin/vos listvol fritz"])
+           val proc = Unix.execute ("/bin/sh", ["-c", "/usr/bin/vos listvol gibran"])
            val inf = Unix.textInstreamOf proc
 
            fun loop acc =