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:
parent
0c38854ef9
commit
4175a75c18
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue