Skip to content

Commit 08ed63a

Browse files
author
Christian Pietsch
committed
replace rcapache2 with service to appease systemd
1 parent 1607dbf commit 08ed63a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fabfile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#: The user to use for the remote commands
66
user = 'root'
77
#: The machine(s) where the application will be deployed
8-
hosts = ['129.70.12.31']
8+
hosts = ['129.70.43.31']
99
#: The remote installation directory
1010
install_dir = '/var/www/wsgi-scripts/'
1111

@@ -20,4 +20,4 @@ def deploy():
2020
run('cp -r /tmp/oval %s' % install_dir)
2121
run('rm -rf /tmp/oval /tmp/oval.tar.gz')
2222
local('rm oval.tar.gz')
23-
run('apache2ctl graceful')
23+
run('service apache2 restart')

0 commit comments

Comments
 (0)