mirror of
https://gitlab.com/veilid/veilid.git
synced 2024-12-28 08:49:29 -05:00
Merge branch 'veilidchat-work' into 'main'
package script See merge request veilid/veilid!74
This commit is contained in:
commit
0292e91831
@ -26,6 +26,8 @@ if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-decon
|
||||
|
||||
if [ -d /run/systemd/system ]; then
|
||||
systemctl --system daemon-reload >/dev/null || true
|
||||
echo "Veilid headless node is now installed. To start the service run: systemctl enable --now veilid-server.service"
|
||||
echo "Veilid headless node is now installed. To enable the service run: systemctl enable --now veilid-server.service"
|
||||
# Restart if it is enabled already
|
||||
deb-systemd-invoke restart 'veilid-server.service' >/dev/null || true
|
||||
fi
|
||||
fi
|
||||
|
@ -4,3 +4,4 @@ set -e
|
||||
if [ -d /run/systemd/system ] && [ "$1" = remove ]; then
|
||||
deb-systemd-invoke stop 'veilid-server.service' >/dev/null || true
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user