Skip to content
Snippets Groups Projects
Commit d9533618 authored by Dmitriy A. Gerasimov's avatar Dmitriy A. Gerasimov
Browse files

[+] New services API

[*] Package fixes for systemd
[+] Multi-algo signature
parent 16056a42
No related branches found
No related tags found
No related merge requests found
......@@ -7,8 +7,8 @@ SET(DESTDIR "/opt/${PROJECT_NAME}")
SET( CPACK_GENERATOR "DEB")
SET( CPACK_PACKAGE_NAME "${PROJECT_NAME}")
SET( CPACK_PACKAGE_VERSION_MAJOR 2)
SET( CPACK_PACKAGE_VERSION_MINOR 13)
SET( CPACK_PACKAGE_VERSION_PATCH 1)
SET( CPACK_PACKAGE_VERSION_MINOR 14)
SET( CPACK_PACKAGE_VERSION_PATCH 0)
SET( CPACK_SYSTEM_TYPE "debian")
SET( CPACK_SYSTEM_VERSION "10.0")
......
Subproject commit 40d39e37c973bab0921275488b4da3d41d780641
Subproject commit 32b93a8f92852cdb30f9716b86c97fab8f962594
Subproject commit 427637bf0bd2cf2421e11aec4c87389148f81e35
Subproject commit d2896ab953e35c16d15a18b1c1f581fd332e46a5
......@@ -14,7 +14,7 @@ Restart=always
#Group=cellframe-node
User=root
Group=root
CapabilityBoundingSet=CAP_NET_BIND_SERVICE CAP_IPC_LOCK CAP_KILL CAP_LEASE CAP_MKNOD CAP_NET_ADMIN CAP_NET_BROADCAST CAP_NET_RAW CAP_SYS_NICE CAP_SYS_RAWIO CAP_SYSLOG CAP_WAKE_ALARM
#CapabilityBoundingSet=CAP_NET_BIND_SERVICE CAP_IPC_LOCK CAP_KILL CAP_LEASE CAP_MKNOD CAP_NET_ADMIN CAP_NET_BROADCAST CAP_NET_RAW CAP_SYS_NICE CAP_SYS_RAWIO CAP_SYSLOG CAP_WAKE_ALARM
[Install]
WantedBy=multi-user.target
......@@ -72,7 +72,7 @@ mkdir -p $DAP_PREFIX/var/plugins || true
cat /etc/passwd| grep cellframe-node || adduser --system --no-create-home --group --home /opt/cellframe-node cellframe-node
echo "[*] Check /etc/systemd/system/$DAP_APP_NAME.service file..."
if [ -f /etc/systemd/system/$DAP_APP_NAME.service ]; then
if [ -L /etc/systemd/system/$DAP_APP_NAME.service ]; then
echo "[*] Restarting $DAP_APP_NAME to implement changes"
systemctl --system stop $DAP_APP_NAME >> /dev/null|| true
systemctl daemon-reload || true
......@@ -101,5 +101,6 @@ else
fi
done
chmod 0774 $DAP_PREFIX/bin/*
echo "[*] Done"
service cellframe-node start || true
echo "[!] Done"
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment