Преглед изворни кода

Run systemctl after chkconfig on installation.


git-svn-id: https://svn.microneil.com/svn/PKG-SNF-CS-NIX/trunk@107 233e721a-07f6-49eb-a7da-05e0e16828fc
master
adeniz пре 11 година
родитељ
комит
1cb8cf72e8
1 измењених фајлова са 5 додато и 0 уклоњено
  1. 5
    0
      SNF_CS_Developer_Package/snf-server.spec.in

+ 5
- 0
SNF_CS_Developer_Package/snf-server.spec.in Прегледај датотеку

@@ -93,6 +93,11 @@ make DESTDIR=%{buildroot} install
/sbin/chkconfig --add snf-server
/sbin/chkconfig snf-server on

# Reload the daemons if the systemctl command exists.
if command -v /usr/bin/systemctl > /dev/null 2>&1; then
/usr/bin/systemctl --system daemon-reload
fi

# Start the service.
/sbin/service snf-server start


Loading…
Откажи
Сачувај