blob: 6970e69243a62bef84e3aaeade6a7dde1b82501f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
post_install() {
echo "Enabling and starting ceserver service..."
systemctl daemon-reload
systemctl enable --now ceserver.service
}
post_upgrade() {
systemctl daemon-reload
systemctl restart ceserver.service
}
pre_remove() {
echo "Stopping and disabling ceserver service..."
systemctl disable --now ceserver.service
}
|