i2pd/contrib
Zetok Zalbavar 2c9fa2f738
Fix and update i2pd.service
- /var/run on distros with systemd is a symlink to /run , hence the
path changes.

- Remove unnecessary runtime dependency on `/bin/kill` which is
provided by `procps` and might not be available on minimal installs
(e.g. containers). Instead use `/bin/sh` which has a built-in `kill`.

- `PrivateDevices=yes` causes i2pd to fail to start on latest Debian
unstable. Service exits with the following:

```
i2pd.service: Failed to execute command: Operation not permitted
i2pd.service: Failed at step EXEC spawning /usr/sbin/i2pd: Operation not permitted
i2pd.service: Control process exited, code=exited, status=203/EXEC
i2pd.service: Failed with result 'exit-code'.
Failed to start I2P Router written in C++.
```

According to `man systemd.exec` exit code 203 corresponds to the
`execve(2)` system call failing. So it looks like i2pd tries to do
something it shouldn't be doing. The proper fix would be in i2pd, but
who knows how long that would actually take, so to allow people to
actually launch i2pd in meanwhile the line has been removed from the
service file.

Also, surprisingly, right after installing i2pd it started without any
problems, and only after restarting the box i2pd started to fail for no
apparent reason.
2019-07-24 11:48:18 +01:00
..
android_binary_pack add script for packaging archive with android binaries 2019-03-22 23:37:20 +00:00
apparmor fix #1192 2018-06-16 11:59:54 +03:00
certificates remove obsolete reseeds 2019-06-01 09:37:02 -04:00
debian i2pd.service: do not block system shutdown for 10 min 2018-02-03 02:29:28 +08:00
docker Fix Docker build 2019-03-22 13:14:02 -04:00
rpm 2.27.0 2019-07-03 12:38:55 -04:00
tunnels.d update debian/rpm tunnels.d storing 2018-11-10 03:28:24 +00:00
i2pd.conf configure persist of peer profiles 2018-11-22 00:13:23 +03:00
i2pd.service Fix and update i2pd.service 2019-07-24 11:48:18 +01:00
subscriptions.txt Moved files from docs/ to contrib/ 2017-02-16 06:36:01 -05:00
tunnels.conf update Config.cpp, links to examples, manpage 2018-06-21 09:40:53 +03:00