~marcoceppi/charms/precise/steam/trunk

« back to all changes in this revision

Viewing changes to hooks/steam-relation-changed

  • Committer: Marco Ceppi
  • Date: 2013-02-15 14:47:35 UTC
  • Revision ID: marco@ceppi.net-20130215144735-4yqgy2m518on1qjq
Fixes to make steam a primary to the subordinate model

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
source "env/common"
4
4
 
5
 
relation-set charm-dir=`$CHARM_DIR` steam-client="$INSTALL_USER_HOME/hlds/steam"
 
5
relation-set charm-dir=$CHARM_DIR steam-client="$INSTALL_USER_HOME/hlds/steam"
 
6
 
 
7
chown -R steam.steam /home/steam
 
8
chown -R steam.steam /mnt/hlds
6
9
 
7
10
for p in {27000..27050}; do
8
 
  open-port $p
9
 
done
10
 
 
11
 
for p in {3478..4380}; do
12
11
  open-port $p/udp
 
12
  open-port $p/tcp
13
13
done
 
14
 
 
15
#for p in {3478..4380}; do
 
16
#  open-port $p/udp
 
17
#done