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
  • ..
  • deb
  • postinst
  • Non root docker user (#2460) ...
    aabc22d7
    * Non root docker user
    
    * Fixes for user - signle user for all services
    
    * Base image changed
    
    * Fixes for pvc removal
    
    * Moved to be in sync with PE
    
    * Changed to TB repository
    VoBa authored
    2020-03-10 16:52:50 +0200  
    Browse Files »
postinst 179 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9
#!/bin/sh

set -e

chown -R ${pkg.user}: ${pkg.logFolder}
chown -R ${pkg.user}: ${pkg.installFolder}
systemctl --no-reload enable ${pkg.name}.service >/dev/null 2>&1 || :

exit 0