Codebase list python-faraday / 190a6ce
Update faraday.service Sophie Brun 3 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
55
66 [Service]
77 Type=simple
8 ExecStartPre=/bin/sh -c 'if ! su postgres -c "psql -lqt" | cut -d \| -f 1 | grep -qw faraday; then faraday-manage initdb; fi'
8 ExecStartPre=/bin/sh -c 'if ! sudo -u postgres -- psql -lqt | cut -d \| -f 1 | grep -qw faraday; then faraday-manage initdb; fi'
99 ExecStart=faraday-server
1010
1111 [Install]