~ibm-demo/charms/trusty/vsftpd/trunk

« back to all changes in this revision

Viewing changes to hooks/stop

  • Committer: Nathan Williams
  • Date: 2012-05-03 22:26:30 UTC
  • Revision ID: nathan@nathanewilliams.com-20120503222630-zfh9na9zla2o4bbd
re-introduced config-changed hook

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/bash
2
2
juju-log "Stopping vsftpd"
3
3
service vsftpd stop || :
 
4
 
 
5
juju-log "Closing tcp port 21"
 
6
close-port 21/tcp