Skip to content

Commit aca4e49

Browse files
committed
Fix travis to restart mongodb
1 parent e1dbd71 commit aca4e49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ before_install:
3939
- npm install -g greenkeeper-lockfile@1
4040
before_script:
4141
- echo "replSet = rs0" | sudo tee -a /etc/mongodb.conf
42-
- sudo service mongodb restart
42+
- sudo systemctl restart mongod
4343
- sleep 20
4444
- mongo --eval 'rs.initiate()'
4545
- sleep 20

0 commit comments

Comments
 (0)