diff --git a/config.mk b/config.mk deleted file mode 100644 index 530cf0d..0000000 --- a/config.mk +++ /dev/null @@ -1,2 +0,0 @@ -GO = go -GOOS = `{uname -s | tr A-Z a-z} diff --git a/marisa-trash.1 b/marisa-trash.1 index a08eefd..31a9ff8 100644 --- a/marisa-trash.1 +++ b/marisa-trash.1 @@ -1,11 +1,11 @@ -.Dd 2021-11-03 -.Dt PARTAGE-TRASH 1 -.Os POSIX.1-2017 +.Dd $Mdocdate$ +.Dt MARISA-TRASH 1 +.Os .Sh NAME -.Nm partage-trash +.Nm marisa-trash .Nd Purge expired share files .Sh SYNOPSIS -.Nm partage-trash +.Nm marisa-trash .Op Fl v .Op Fl f Ar files .Op Fl m Ar metadata @@ -22,7 +22,7 @@ directory if the expiration time has passed. is best run as a .Xr cron 8 job, as the same user as the -.Xr partage 1 +.Xr marisa 1 daemon. .Bl -tag -width Ds .It Fl v @@ -36,6 +36,9 @@ Lookup metadata files in directory .Pa metadata .El .Sh SEE ALSO -.Xr partage 1 +.Xr marisa 1 .Sh AUTHOR .An Willy Goiffon Aq Mt dev@z3bra.org +.Pp +"Borrowed" by +.An Izuru Yakumo Aq Mt yakumo.izuru@chaotic.ninja diff --git a/marisa.1 b/marisa.1 index dab9f29..57677af 100644 --- a/marisa.1 +++ b/marisa.1 @@ -1,11 +1,11 @@ -.Dd 2021-11-03 -.Dt PARTAGE 1 -.Os POSIX.1-2017 +.Dd $Mdocdate$ +.Dt MARISA 1 +.Os .Sh NAME -.Nm partage +.Nm marisa .Nd HTTP based file upload system .Sh SYNOPSIS -.Nm partage +.Nm marisa .Op Fl v .Op Fl f Ar file .Sh DESCRIPTION @@ -17,7 +17,7 @@ Files uploaded are saved in a single directory and given random names while retaining their original extension. A configurable expiration time is set for each file, that can be used to cleanup expired files thanks to -.Xr partage-trash 1 . +.Xr marisa-trash 1 . .Bl -tag -width Ds .It Fl v Turn on verbose logging to @@ -27,7 +27,10 @@ Load configuration from .Pa file .El .Sh SEE ALSO -.Xr partage-trash 1 , -.Xr partage.conf 5 -.Sh AUTHOR +.Xr marisa-trash 1 , +.Xr marisa.conf 5 +.Sh AUTHORS .An Willy Goiffon Aq Mt dev@z3bra.org +.Pp +"Borrowed" by +.An Izuru Yakumo Aq Mt yakumo.izuru@chaotic.ninja diff --git a/marisa.conf.5 b/marisa.conf.5 index aca79a9..03c4d6e 100644 --- a/marisa.conf.5 +++ b/marisa.conf.5 @@ -1,13 +1,13 @@ -.Dd 2021-11-03 -.Dt PARTAGE.CONF 5 -.Os POSIX.1-2017 +.Dd $Mdocdate$ +.Dt MARISA.CONF 5 +.Os .Sh NAME -.Nm partage.conf -.Nd partage configuration file format +.Nm marisa.conf +.Nd marisa configuration file format .Sh DESCRIPTION .Nm is the configuration file for the HTTP file sharing system, -.Xr partage 1 . +.Xr marisa 1 . .Sh CONFIGURATION Here are the settings that can be set: .Bl -tag -width Ds @@ -17,7 +17,7 @@ Have the program listen on This socket can be specified either as a TCP socket: .Ar host:port or as a Unix socket: -.Ar /path/to/partage.sock . +.Ar /path/to/marisa.sock . When using Unix sockets, the program will serve content using the .Em FastCGI protocol. @@ -54,7 +54,7 @@ Configuration suitable for use with .Xr httpd 8 using fastcgi: .Bd -literal -offset indent -listen = /run/partage.sock +listen = /run/marisa.sock baseuri = https://domain.tld user = www group = daemon @@ -76,16 +76,19 @@ server "domain.tld" { listen on * tls port 443 connection { max request body 10737418240 } location "*" { - fastcgi socket "/run/partage.sock" + fastcgi socket "/run/marisa.sock" } } types { include "/usr/share/misc/mime.types" } .Ed .Sh SEE ALSO -.Xr partage 1 , -.Xr partage-trash 1 , +.Xr marisa 1 , +.Xr marisa-trash 1 , .Xr httpd 8, .Xr httpd.conf 5 .Sh AUTHORS .An Willy Goiffon Aq Mt dev@z3bra.org +.Pp +"Borrowed" by +.An Izuru Yakumo Aq Mt yakumo.izuru@chaotic.ninja