mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
systemd unit, debian patch fix, makefile last-dist added, package log&pid folder edited
This commit is contained in:
parent
4b983300fe
commit
8b0ce30dfc
14 changed files with 69 additions and 19 deletions
4
debian/postinst
vendored
4
debian/postinst
vendored
|
@ -1,7 +1,7 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
LOGFILE='/var/log/i2pd.log'
|
||||
LOGFILE='/var/log/i2pd/i2pd.log'
|
||||
I2PDHOME='/var/lib/i2pd'
|
||||
I2PDUSER='i2pd'
|
||||
|
||||
|
@ -17,6 +17,8 @@ case "$1" in
|
|||
adduser --system --quiet --group --home $I2PDHOME $I2PDUSER
|
||||
fi
|
||||
|
||||
mkdir -p -m0750 /var/log/i2pd
|
||||
chown -f ${I2PDUSER}:adm /var/log/i2pd
|
||||
touch $LOGFILE
|
||||
chmod 640 $LOGFILE
|
||||
chown -f ${I2PDUSER}:adm $LOGFILE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue