source: debian/scripts/postinst @ b4524c6

Last change on this file since b4524c6 was b4524c6, checked in by HungryHobo <HungryHobo@…>, 11 years ago

Make separate i386 and amd64 packages, this fixes the arch-independent-package-contains-binary-or-object lintian error

  • Property mode set to 100755
File size: 228 bytes
Line 
1#!/bin/sh
2SVCHOME=/var/lib/i2p
3I2P=/usr/lib/i2p
4I2PUSER=i2psvc
5
6useradd -d $SVCHOME -r $I2PUSER
7chown $I2PUSER:$I2PUSER $I2P -R
8mkdir -p $SVCHOME
9chown $I2PUSER:$I2PUSER $SVCHOME
10
11update-rc.d i2p defaults
12
13invoke-rc.d i2p start
Note: See TracBrowser for help on using the repository browser.