mirror of
https://gitlab.com/veilid/veilid.git
synced 2024-10-01 01:26:08 -04:00
Merge branch 'Update-RPM-Systemd-behavior' into 'main'
service restart if running, instructs to start if not See merge request veilid/veilid!82
This commit is contained in:
commit
93a8815f81
@ -47,6 +47,13 @@ echo "Congratulations! To start your Veilid node and set it to start at boot, ru
|
||||
%postun
|
||||
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
|
||||
* Sun Jul 2 2023 TC <tc@veilid.org>
|
||||
- experimental RPM building
|
||||
|
Loading…
Reference in New Issue
Block a user