forked from vern/scripts
9 lines
235 B
Plaintext
9 lines
235 B
Plaintext
|
#!/usr/bin/env -S bash -e
|
||
|
|
||
|
[[ -z "$2" ]] && {
|
||
|
printf "Usage: %s username password\n" "$0"
|
||
|
exit 1
|
||
|
}
|
||
|
|
||
|
su - akkoma -s /bin/bash -c "cd /home/akkoma/akkoma && MIX_ENV=prod mix pleroma.user new '${1}' '${1}@vern.cc' --password '${2}' -y"
|