debian: dont start service immediately, add postinst instructions
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
f5864afb52
commit
81d2078cdb
|
@ -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]
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue