summarylogtreecommitdiffstats
path: root/i2pbote.install
diff options
context:
space:
mode:
authordevninja2016-04-11 12:39:03 -0400
committerdevninja2016-04-11 12:39:03 -0400
commitdf2d30559a9677450cee01e405c5588734bd7d77 (patch)
treeb7121851b801d5f3d1846b1419fef55f221caa30 /i2pbote.install
parent87fe64e4278d554f1e0dae963a5e9a6d51dd2dd0 (diff)
downloadaur-df2d30559a9677450cee01e405c5588734bd7d77.tar.gz
fixed permissions.
added unpack200, so this actually works as intended
Diffstat (limited to 'i2pbote.install')
-rw-r--r--i2pbote.install9
1 files changed, 9 insertions, 0 deletions
diff --git a/i2pbote.install b/i2pbote.install
new file mode 100644
index 000000000000..9edc00e91afb
--- /dev/null
+++ b/i2pbote.install
@@ -0,0 +1,9 @@
+post_install() {
+ post_upgrade
+}
+
+post_upgrade() {
+ systemd-tmpfiles --create i2prouter.conf
+ chown -R i2p:i2p /opt/i2p/.i2p/plugins/i2pbote
+ chmod 700 /opt/i2p/.i2p/plugins/i2pbote
+}