smeserver-phplist/root/etc/e-smith/events/actions/phplist-initialise

7 lines
197 B
Bash

#!/bin/bash
password=$(config getprop phplist AdminPass)
domain=$(config get DomainName)
ADMIN_PASSWORD=$password ADMIN_EMAIL=admin@$domain phplist -pinitialise
phplist -pdbcheck
phplist -pupgrade