debian: dont start service immediately, add postinst instructions

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-05-15 11:45:35 -04:00 committed by June
parent f5864afb52
commit 81d2078cdb
2 changed files with 6 additions and 1 deletions

View file

@ -460,7 +460,7 @@ assets = [
]
conf-files = ["/etc/conduwuit/conduwuit.toml"]
maintainer-scripts = "debian/"
systemd-units = { unit-name = "conduwuit" }
systemd-units = { unit-name = "conduwuit", start = false }
[profile.dev]

5
debian/postinst vendored
View file

@ -31,6 +31,11 @@ case "$1" in
chmod -v 740 "$CONDUWUIT_DATABASE_PATH"
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 ''
;;
esac