Install systemd service files into /usr/lib/

Install systemd service files into a location that will work on Fedora as well
as on openSUSE. Note, that on Fedora /lib is just a symlink to /usr/lib anyway.

Change-Id: If1dcd0d428d36d587fab501d42b0c8689a972e31
This commit is contained in:
Ralf Haferkamp 2014-02-07 14:30:31 +01:00
parent 0c38854ef9
commit 4175a75c18
1 changed files with 2 additions and 2 deletions

View File

@ -121,7 +121,7 @@ function install_systemd {
Environment=}
fi
$OUTPUT /lib/systemd/system/$name.service <<EOF
$OUTPUT /usr/lib/systemd/system/$name.service <<EOF
[Unit]
Description=$name Service
After=os-refresh-config.service
@ -137,7 +137,7 @@ WantedBy=multi-user.target
Alias=$name.service
EOF
$OUTPUT /lib/systemd/system/$name-create-dir.service <<EOF
$OUTPUT /usr/lib/systemd/system/$name-create-dir.service <<EOF
[Unit]
Description=Create /var/run/$name