diff options
author | Laurent Bercot <ska-adelie@skarnet.org> | 2024-02-24 08:53:33 +0000 |
---|---|---|
committer | Laurent Bercot <ska-adelie@skarnet.org> | 2024-02-24 08:57:44 +0000 |
commit | f6caef65cb23c157fa195a56a648235a8af37531 (patch) | |
tree | 1b1d7541270b3f5fb603187e34d7a0aacd2640c6 /user/apaste/apasted.confd | |
parent | ca35fa1a22f117398f176d5ecbb2259aab28ab4c (diff) | |
download | packages-f6caef65cb23c157fa195a56a648235a8af37531.tar.gz packages-f6caef65cb23c157fa195a56a648235a8af37531.tar.bz2 packages-f6caef65cb23c157fa195a56a648235a8af37531.tar.xz packages-f6caef65cb23c157fa195a56a648235a8af37531.zip |
user/apaste: new package
Diffstat (limited to 'user/apaste/apasted.confd')
-rw-r--r-- | user/apaste/apasted.confd | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/user/apaste/apasted.confd b/user/apaste/apasted.confd new file mode 100644 index 000000000..df57ce121 --- /dev/null +++ b/user/apaste/apasted.confd @@ -0,0 +1,32 @@ +# apasted configuration + +# The IPs you want the apasted server to listen on. +# Comment to disable. +APASTED_IPv4=0.0.0.0 +APASTED_IPv6=:: + +# The ports for plaintext service and TLS-tunneled service. +# Comment to disable. +APASTED_PORT=9999 +# APASTED_TLS_PORT=9997 + +# If APASTED_TLS_PORT is present, KEYFILE should point to +# your private key, and CERTFILE should point to your certificate. +# KEYFILE= +# CERTFILE= + +# Where the pastes are stored. Make sure this directory exists +# and is writable by the apasted user. +APASTED_ROOT=/var/tmp/apaste + +# If you want a prefix for the slugs. +# APASTED_PREFIX= + +# Maximum number of client files stored at once. Default is 10. +# APASTED_MAXFILES=10 + +# Maximum client file size, in bytes. Default is 1048576 (1 MB). +# APASTED_MAXSIZE=1048576 + +# Maximum total size of a transaction, in bytes. Default is 10485760 (10 MB). +# APASTED_MAXTOTALSIZE=10485760 |