c96ef35 Issue 50365 - PIDFile= references path below legacy directory /var/run/

Authored and Committed by mhonek 4 years ago
    Issue 50365 - PIDFile= references path below legacy directory /var/run/
    
    Bug description:
    SystemD complains the PIDFile= in the .service file points into a legacy
    directory /var/run
    
    Fix description:
    Drop '@localstatedir@' which interpolates to '/var'. Although the actual
    directory referenced everywhere else is the one prefixed with '/var' it
    should not pose a problem since every environment SystemD is supposed to
    run in has to have absolute path `/run' present which is effectively
    always linked to the legacy '/var/run'.
    
    Fixes https://pagure.io/389-ds-base/issue/50365
    
    Author: Matus Honek <mhonek@redhat.com>
    
    Review by: mreynolds, vashirov, firstyear (thanks!)