diff options
Diffstat (limited to 'photonvision-bin.install')
-rw-r--r-- | photonvision-bin.install | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/photonvision-bin.install b/photonvision-bin.install new file mode 100644 index 000000000000..67716fcb1d59 --- /dev/null +++ b/photonvision-bin.install @@ -0,0 +1,12 @@ +## arg 1: the new package version +post_install() { + echo "Warning: Photonvision will change the machine hostname to 'photonvision' on first run." + echo "This can be changed on the Settings page on the web ui at http://localhost:5800" + echo "To enable the photonvision service: systemctl enable --now photonvision" +} + +## arg 1: the new package version +## arg 2: the old package version +post_upgrade() { + echo "Restart the service to change to $1: systemctl restart photonvision" +} |