xbps-triggers: [systemd-update] register unit at post-update time.
This commit is contained in:
@@ -88,6 +88,9 @@ Refer to the systemd documentation if more information is required.
|
|||||||
==========================================================================
|
==========================================================================
|
||||||
_EOF
|
_EOF
|
||||||
else
|
else
|
||||||
|
# Enable the unit in case it wasn't added.
|
||||||
|
systemctl enable ${_srv} >/dev/null 2>&1 || :
|
||||||
|
|
||||||
# package is being updated.
|
# package is being updated.
|
||||||
if [ -n "$system_booted" ]; then
|
if [ -n "$system_booted" ]; then
|
||||||
# reload systemd if running.
|
# reload systemd if running.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# Template file for 'xbps-triggers'
|
# Template file for 'xbps-triggers'
|
||||||
pkgname=xbps-triggers
|
pkgname=xbps-triggers
|
||||||
version=0.41
|
version=0.42
|
||||||
noarch=yes
|
noarch=yes
|
||||||
noextract=yes
|
noextract=yes
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
|
|||||||
Reference in New Issue
Block a user