summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xi2p.install4
1 files changed, 2 insertions, 2 deletions
diff --git a/i2p.install b/i2p.install
index e375465ba0bb..be4cd1e2a537 100755
--- a/i2p.install
+++ b/i2p.install
@@ -4,13 +4,13 @@ post_install() {
useradd --system --user-group --home /opt/i2p i2p
echo "done"
}
- systemd-tmpfiles --create i2prouter.conf
- chown -R i2p:i2p /opt/i2p
+ post_upgrade
}
post_upgrade() {
systemd-tmpfiles --create i2prouter.conf
chown -R i2p:i2p /opt/i2p
+ chmod 750 /opt/i2p
}
pre_remove() {