2020-05-31 22:49:07 +02:00
|
|
|
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
|
2024-05-13 22:51:32 -04:00
|
|
|
# TODO: implement debconf support that is maintainable without duplicating the config
|
|
|
|
#. /usr/share/debconf/confmodule
|
2020-11-13 20:35:22 +01:00
|
|
|
|
2024-05-13 22:51:32 -04:00
|
|
|
CONDUWUIT_DATABASE_PATH=/var/lib/conduwuit
|
|
|
|
CONDUWUIT_CONFIG_PATH=/etc/conduwuit
|
2020-05-31 22:49:07 +02:00
|
|
|
|
|
|
|
case "$1" in
|
|
|
|
configure)
|
2024-05-15 11:45:35 -04:00
|
|
|
echo ''
|
|
|
|
echo 'Make sure you edit the example config at /etc/conduwuit/conduwuit.toml before starting!'
|
|
|
|
echo 'To start the server, run: systemctl start conduwuit.service'
|
|
|
|
echo ''
|
|
|
|
|
2020-05-31 22:49:07 +02:00
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
|
|
|
#DEBHELPER#
|