You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
565 B
INI
19 lines
565 B
INI
5 years ago
|
[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
|