Change pid path to /run/zm/zm.pid instead of /var/run/zm/zm.pid. systemd now complains about the use of a legacy directory, so this quiets that.

This commit is contained in:
Isaac Connor 2019-05-02 10:52:19 -04:00
parent 91f7034642
commit 8b1565c41d
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ Type=forking
ExecStart=/usr/bin/zmpkg.pl start ExecStart=/usr/bin/zmpkg.pl start
ExecReload=/usr/bin/zmpkg.pl restart ExecReload=/usr/bin/zmpkg.pl restart
ExecStop=/usr/bin/zmpkg.pl stop ExecStop=/usr/bin/zmpkg.pl stop
PIDFile=/var/run/zm/zm.pid PIDFile=/run/zm/zm.pid
Restart=always Restart=always
RestartSec=10 RestartSec=10
Environment=TZ=:/etc/localtime Environment=TZ=:/etc/localtime