Sign in

简柏林 / thingskit · Files

GitLab

  • Go to dashboard
  • Project
  • Activity
  • Files
  • Commits
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Network
  • thingskit
  • ..
  • rpm
  • postrm
  • ThingsBoard Web UI Microservice.
    4bf57ebf
    Igor Kulikov authored
    2018-10-02 17:42:09 +0300  
    Browse Files »
postrm 149 Bytes
Raw Blame History Permalink
1 2 3 4 5 6
#!/bin/sh

if [ $1 -ge 1 ] ; then
        # Package upgrade, not uninstall
        systemctl try-restart ${pkg.name}.service >/dev/null 2>&1 || :
fi