1.6.0.r1.gd7bd0cf-1: various fixes (service unit, postgresql)

This commit is contained in:
Timothée Ravier 2017-01-07 00:06:16 +01:00
parent 02a43384b7
commit f269354ff2
4 changed files with 34 additions and 11 deletions

View file

@ -4,11 +4,26 @@ After=network.target
[Service]
Type=simple
ExecStart=/opt/mozilla-firefox-sync-server/local/bin/gunicorn --paste /opt/mozilla-firefox-sync-server/syncserver.ini
Restart=on-abort
User=ffsync
Group=http
UMask=007
Restart=on-abort
ExecStart=/opt/mozilla-firefox-sync-server/local/bin/gunicorn --paste /opt/mozilla-firefox-sync-server/syncserver.ini
NoNewPrivileges=yes
PrivateTmp=yes
PrivateDevices=yes
ProtectSystem=full
ProtectHome=yes
SystemCallArchitectures=native
SystemCallFilter=~@clock @cpu-emulation @debug @keyring @module @mount @obsolete @raw-io
CapabilityBoundingSet=
AmbientCapabilities=
[Install]
WantedBy=multi-user.target