summarylogtreecommitdiffstats
path: root/framework-control.install
blob: 62540620294d646f355be74b2c0100ecb74472db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
post_install() {
  echo ">>>"
  echo ">>> Framework Control installed!"
  echo ">>> To start the service now and on boot, run:"
  echo ">>> sudo systemctl enable --now framework-control.service"
  echo ">>>"
}

post_upgrade() {
  # This ensures the new service file logic is loaded
  systemctl daemon-reload
  
  echo ">>>"
  echo ">>> Framework Control has been updated."
  echo ">>> If the service is already running, you may want to restart it:"
  echo ">>> sudo systemctl restart framework-control.service"
  echo ">>>"
}