increase limits by default, fix symbolic links, change rules

This commit is contained in:
R4SAS 2018-06-26 16:23:21 +00:00 committed by R4SAS
parent 27fbf67352
commit a188de2e5c
4 changed files with 7 additions and 7 deletions

View File

@ -24,7 +24,7 @@ KillSignal=SIGQUIT
#TimeoutStopSec=10m #TimeoutStopSec=10m
# If you have problems with hanging i2pd, you can try enable this # If you have problems with hanging i2pd, you can try enable this
#LimitNOFILE=4096 LimitNOFILE=4096
PrivateDevices=yes PrivateDevices=yes
[Install] [Install]

1
debian/i2pd.service vendored
View File

@ -1 +0,0 @@
../i2pd.service

1
debian/i2pd.service vendored Symbolic link
View File

@ -0,0 +1 @@
../contrib/debian/i2pd.service

2
debian/i2pd.tmpfile vendored
View File

@ -1,2 +0,0 @@
d /var/run/i2pd 0755 i2pd i2pd - -
d /var/log/i2pd 0755 i2pd i2pd - -

1
debian/i2pd.tmpfile vendored Symbolic link
View File

@ -0,0 +1 @@
../contrib/debian/i2pd.tmpfile

7
debian/rules vendored
View File

@ -12,10 +12,11 @@ DEB_BUILD_MAINT_OPTIONS=hardening=+bindnow
%: %:
dh $@ --parallel dh $@ --parallel
#dh_apparmor --profile-name=usr.sbin.i2pd -pi2pd # dh_apparmor --profile-name=usr.sbin.i2pd -pi2pd
override_dh_strip: override_dh_strip:
dh_strip --dbg-package=i2pd-dbg dh_strip --dbg-package=i2pd-dbg
override_dh_shlibdeps: ## uncoment this if you have "missing info" problem when building package
dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info #override_dh_shlibdeps:
# dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info