Enable nocem.
This commit is contained in:
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
|
|||||||
|
|
||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) but do not follows semantic versioning as it is useless in this type of project.
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) but do not follows semantic versioning as it is useless in this type of project.
|
||||||
|
|
||||||
|
## [2.7.4-4] - 2026-07-29
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
* nocem processing enablement with data from https://rosalind.home.xs4all.nl/nocemreg/nocemreg.html.
|
||||||
|
|
||||||
## [2.7.4-3] - 2026-07-29
|
## [2.7.4-3] - 2026-07-29
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|||||||
@@ -95,6 +95,10 @@ If you want to use cron outside of your container:
|
|||||||
|
|
||||||
As this container has no postfix installed (why do you might ever need it here?) you can use [ssmtp](https://wiki.debian.org/sSMTP) which installed in container to get mails sent over SMTP.
|
As this container has no postfix installed (why do you might ever need it here?) you can use [ssmtp](https://wiki.debian.org/sSMTP) which installed in container to get mails sent over SMTP.
|
||||||
|
|
||||||
|
## No See 'Em's
|
||||||
|
|
||||||
|
This container has nocem enabled and neccessary data will be loaded on first start from [NoCeM registry](https://rosalind.home.xs4all.nl/nocemreg/nocemreg.html).
|
||||||
|
|
||||||
## Versioning
|
## Versioning
|
||||||
|
|
||||||
Image versioning follows official inn2 versions with additional optional version postfix added to indicate image fixes for particular version.
|
Image versioning follows official inn2 versions with additional optional version postfix added to indicate image fixes for particular version.
|
||||||
|
|||||||
Executable
+18
@@ -0,0 +1,18 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
if [ -f "/inn2/etc/pgp/ncmring.gpg" ]; then
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ! -d "/inn2/etc/pgp" ]; then
|
||||||
|
mkdir -p "/inn2/etc/pgp"
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "* Downloading NoCeM gpg keys and ctl file..."
|
||||||
|
|
||||||
|
curl -o /inn2/etc/pgp/ncmring.gpg https://rosalind.home.xs4all.nl/nocemreg/ncmring.asc
|
||||||
|
curl -o /inn2/etc/nocem.ctl https://rosalind.home.xs4all.nl/nocemreg/ncmperm.txt
|
||||||
|
chown -R news:news /inn2/etc/nocem.ctl /inn2/etc/pgp
|
||||||
|
|
||||||
|
echo "* Enabling NoCeM processing..."
|
||||||
|
sed -i '/^#nocem/ { s/^#//; n; s/^#//; }' /inn2/etc/newsfeeds
|
||||||
Reference in New Issue
Block a user