Skip to content

ffsync

Installation des paquets

apt install python-dev python2.7 python2.7-dev make gcc g++ git git-core python-virtualenv libmariadbclient-dev libpq-dev

Installation de syncserver

cd /opt
git clone https://github.com/mozilla-services/syncserver
cd syncserver
make build
make test # pour tester si tout va bien

Paramétrage du syncserver.ini

  • vim /opt/syncserver.ini

à vous de jouer Vous pouvez utiliser une base mysql à la place de sqlite

Unité systemD

[Unit]
Description=Firefoxsync server

[Service]
Type=simple
WorkingDirectory=/opt/syncserver
ExecStart=/usr/bin/make serve
Restart=always

[Install]
WantedBy=multi-user.target

On recharge et lance ffsync

systemctl daemon-reload
systemctl enable ffsync.service
systemctl start ffsync.service