diff --git a/Cargo.toml b/Cargo.toml index 9a4f40fd6ca3bdad54a5c44d7fb684fa650840b7..d084a797467accbc00ad581075d4dff410637646 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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] diff --git a/debian/postinst b/debian/postinst index e2eab94bed1a1471f79b30b9f55b91eacebd2fcd..9383bbacb1e4b2c68a3a91bee2eeded9dc3b327e 100644 --- a/debian/postinst +++ b/debian/postinst @@ -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