diff options
Diffstat (limited to 'community/darkstat/darkstat.install')
-rw-r--r-- | community/darkstat/darkstat.install | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/community/darkstat/darkstat.install b/community/darkstat/darkstat.install deleted file mode 100644 index 246bfd808..000000000 --- a/community/darkstat/darkstat.install +++ /dev/null @@ -1,20 +0,0 @@ -daemon_name=darkstat -daemon_chroot=var/darkstat - -post_install() { - if [ ! -d "$daemon_chroot" ]; then - install -d "$daemon_chroot" - touch "$daemon_chroot/darkstat.dat" - fi - useradd \ - --system \ - --home /"$daemon_chroot" \ - --shell /bin/false \ - --no-user-group \ - --gid nobody "$daemon_name" - chown -R "$daemon_name":nobody "/$daemon_chroot" -} - -post_remove() { - userdel "$daemon_name" -} |