diff options
Diffstat (limited to 'pcr/seeks/install')
-rw-r--r-- | pcr/seeks/install | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/pcr/seeks/install b/pcr/seeks/install deleted file mode 100644 index 35f383a3c..000000000 --- a/pcr/seeks/install +++ /dev/null @@ -1,18 +0,0 @@ -post_install() { - getent group seeks >/dev/null || groupadd -r seeks - getent passwd seeks >/dev/null || useradd -r -c "Seeks daemon" -g seeks -M -d /var/run/seeks -s /bin/false seeks - passwd -l seeks &>/dev/null - touch var/log/seeks.log - chown seeks:log var/log/seeks.log - mkdir -p var/lib/seeks - touch var/lib/seeks/seeks.db - chown -R seeks:seeks var/lib/seeks -} - -pre_remove() { - getent passwd seeks &>/dev/null && userdel seeks >/dev/null - getent group seeks &>/dev/null && groupdel seeks >/dev/null - return 0 -} - - |