mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-07-26 08:25:18 -04:00
service restart if running, instructs to start if not
This commit is contained in:
parent
f899a28a08
commit
c2d0aad973
1 changed files with 7 additions and 0 deletions
|
@ -47,6 +47,13 @@ echo "Congratulations! To start your Veilid node and set it to start at boot, ru
|
||||||
%postun
|
%postun
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
|
|
||||||
|
%posttrans
|
||||||
|
if systemctl is-active --quiet veilid-server.service; then
|
||||||
|
systemctl restart veilid-server.service
|
||||||
|
else
|
||||||
|
echo "Veilid-Server is installed but not currently running. Configure the service to start immediatly and at boot time by running the following command: systemctl enable --now veilid-server.service"
|
||||||
|
fi
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Sun Jul 2 2023 TC <tc@veilid.org>
|
* Sun Jul 2 2023 TC <tc@veilid.org>
|
||||||
- experimental RPM building
|
- experimental RPM building
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue