mirror of
https://dev.lirent.ru/Vatrog/vm-automation-signaling.git
synced 2026-06-25 20:36:36 +03:00
0289817821
- the vmsig package no longer ships the gpu lib; it is a Sensor lib for the control, not the daemon - vgpu-perception gets SOVERSION; runtime (libvgpu-perception0) and dev (-dev) packages, like the vmie split - per-component install + a 3-package make deb; fix a stale comment (the windows producer is in-tree)
20 lines
703 B
Bash
Executable File
20 lines
703 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
case "$1" in
|
|
configure)
|
|
ldconfig || true
|
|
mkdir -p /etc/vmsig
|
|
chmod 0640 /etc/vmsig/vmsigd.conf 2>/dev/null || true # carries the uid->grant policy
|
|
mkdir -p /dev/shm/vmsig && chmod 0755 /dev/shm/vmsig # also (re)created at boot via tmpfiles
|
|
if [ -d /run/systemd/system ]; then
|
|
systemctl daemon-reload || true
|
|
systemd-tmpfiles --create /usr/lib/tmpfiles.d/vmsig.conf || true
|
|
systemctl enable vmsigd.service || true # enable, but do NOT start
|
|
fi
|
|
echo "vmsig: review the [grant] policy in /etc/vmsig/vmsigd.conf, then: systemctl start vmsigd" >&2
|
|
;;
|
|
abort-upgrade|abort-remove|abort-deconfigure)
|
|
;;
|
|
esac
|
|
exit 0
|