Skip to content
This repository was archived by the owner on Dec 16, 2024. It is now read-only.

Commit a3baeaa

Browse files
committed
Restart services on package change
servo-master is updated in-place instead of a fresh machine being built for every update, so this ensures services are restarted when the underlying code is updated.
1 parent b4e4b52 commit a3baeaa

3 files changed

Lines changed: 3 additions & 5 deletions

File tree

buildbot/master.sls

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,8 @@ buildbot-master:
99
- pkg: pip
1010
service.running:
1111
- enable: True
12-
- require:
13-
- pip: buildbot-master
1412
- watch:
13+
- pip: buildbot-master
1514
- file: /home/servo/buildbot/master
1615
- file: /etc/init/buildbot-master.conf
1716

nginx/init.sls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ nginx:
22
pkg.installed: []
33
service.running:
44
- enable: True
5-
- require:
5+
- watch:
66
- pkg: nginx
77

88
/etc/nginx/sites-available/default:

xvfb/init.sls

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ xvfb:
99
pkg.installed: []
1010
service.running:
1111
- enable: True
12-
- require:
13-
- pkg: xvfb
1412
- watch:
13+
- pkg: xvfb
1514
- file: /etc/init/xvfb.conf

0 commit comments

Comments
 (0)