/

Service Integration

Support for running as a system service as part of the reseed package is new. PR’s that improve integration are welcome.

Systemd Service

A systemd service is provided which should work with the I2P Debian package when reseed-tools is installed in /usr/bin/reseed-tools . If you install with make install this service is also installed. This service will cause the bundles to regenerate every 12 hours.

The contact email for your reseed should be added in: /etc/systemd/system/reseed.service.d/override.conf .

Self-signed certificates will be auto-generated for these services. To change this you should edit the /etc/systemd/system/reseed.service . For instance:

ExecStart=/usr/bin/reseed-tools reseed --yes=true --netdb=/var/lib/i2p/i2p-config/netDb --trustProxy --ip=127.0.0.1

to disable self-signed certificate generation.

SysV Service

An initscript is also provided. The initscript, unlike the systemd service, cannot schedule itself to restart. You should restart the service roughly once a day to ensure that the information does not expire.

The contact email for your reseed should be added in: /etc/init.d/reseed .

Self-signed certificates will be auto-generated for these services. To change this you should edit the /etc/default/reseed . Create a MORE_OPTIONS="" field. For instance:

MORE_OPTIONS="--trustProxy --ip=127.0.0.1"

will disable self-signed certificate generation.

Get the source code:
Show license
Copyright (c) 2014 Matt Drollette

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
Hide license
I2P