aboutsummaryrefslogtreecommitdiffstats
path: root/main/snmptt/snmptt.pre-install
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2013-02-15 10:38:10 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2013-02-15 10:38:32 +0000
commit4dc7a9fe46de3a6345035ea8239007bea91f423e (patch)
tree82ebd218de28088052f50001c5574ef1da7609c3 /main/snmptt/snmptt.pre-install
parent02c89f5659ffff9ad39cd9737919a1c87caeb6d6 (diff)
downloadaports-4dc7a9fe46de3a6345035ea8239007bea91f423e.tar.bz2
aports-4dc7a9fe46de3a6345035ea8239007bea91f423e.tar.xz
main/snmptt: add logrotate support. Create user
Diffstat (limited to 'main/snmptt/snmptt.pre-install')
-rw-r--r--main/snmptt/snmptt.pre-install2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/snmptt/snmptt.pre-install b/main/snmptt/snmptt.pre-install
new file mode 100644
index 0000000000..1f978bac74
--- /dev/null
+++ b/main/snmptt/snmptt.pre-install
@@ -0,0 +1,2 @@
+#!/bin/sh
+adduser -h /var/spool/snmptt -s /bin/false -S -D snmptt &>/dev/null