mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-22 14:20:40 +01:00
Create ${SYSTEMD} if needed.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
15335f8615
commit
f5414d0fd1
@ -274,6 +274,7 @@ fi
|
|||||||
# Install the .service file
|
# Install the .service file
|
||||||
#
|
#
|
||||||
if [ -n "$SYSTEMD" ]; then
|
if [ -n "$SYSTEMD" ]; then
|
||||||
|
mkdir -p ${DESTDIR}${SYSTEMD}
|
||||||
run_install $OWNERSHIP -m 600 shorewall-init.service ${DESTDIR}${SYSTEMD}/shorewall-init.service
|
run_install $OWNERSHIP -m 600 shorewall-init.service ${DESTDIR}${SYSTEMD}/shorewall-init.service
|
||||||
echo "Service file installed as ${DESTDIR}${SYSTEMD}/shorewall-init.service"
|
echo "Service file installed as ${DESTDIR}${SYSTEMD}/shorewall-init.service"
|
||||||
if [ -n "$DESTDIR" ]; then
|
if [ -n "$DESTDIR" ]; then
|
||||||
|
@ -355,6 +355,7 @@ fi
|
|||||||
# Install the .service file
|
# Install the .service file
|
||||||
#
|
#
|
||||||
if [ -n "$SYSTEMD" ]; then
|
if [ -n "$SYSTEMD" ]; then
|
||||||
|
mkdir -p ${DESTDIR}${SYSTEMD}
|
||||||
run_install $OWNERSHIP -m 600 $PRODUCT.service ${DESTDIR}${SYSTEMD}/$PRODUCT.service
|
run_install $OWNERSHIP -m 600 $PRODUCT.service ${DESTDIR}${SYSTEMD}/$PRODUCT.service
|
||||||
echo "Service file installed as ${DESTDIR}${SYSTEMD}/$PRODUCT.service"
|
echo "Service file installed as ${DESTDIR}${SYSTEMD}/$PRODUCT.service"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user