[Unit] Description=firefox sync server at {{ domain }} Requires=mariadb.service Requires={{ socket_name }} After=network.target [Service] PIDFile={{ pid_file_path }} User={{ system_user }} Group={{ system_user }} WorkingDirectory={{ installation_directory }} ExecStart={{ local_binary_directory }}/gunicorn --pid {{ pid_file_path | quote }} --bind unix:{{ socket_path | quote }} --threads 2 --paste {{ configuration_file_path | quote }} ExecReload=/bin/kill -s HUP $MAINPID ExecStop=/bin/kill -s TERM $MAINPID PrivateTmp=true [Install] WantedBy=multi-user.target