package/nginx: fix error is nginx.service
authorMartin Bark <martin@barkynet.com>
Tue, 3 May 2016 09:36:53 +0000 (10:36 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 5 May 2016 20:22:56 +0000 (22:22 +0200)
commit851376149380a47cc34d34227f7333a576e3cd72
treec0074feff124de1a460545987cc36f697c237e8e
parent868955a2eb8feb1e4a302d954d8c9ddfd6fd198d
package/nginx: fix error is nginx.service

When using systemd nginx fails to start with the error

    /usr/bin/mkdir: invalid option -- 't'

This is due to a missing space before the semicolon in nginx.service.
For systemd to handle multiple commands in ExecStartPre it requires the
semicolon to be a separate word or the use of multiple ExecStartPre.

This commit splits the multiple commands into two ExecStartPre lines
which fixes the error and improves readability.

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/nginx/nginx.service