Skip to content

Commit

Permalink
scripts/systemd/nut.target et al: make it a .in template [#722]
Browse files Browse the repository at this point in the history
Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
  • Loading branch information
jimklimov committed Dec 30, 2024
1 parent 585547e commit abda7cc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -5544,6 +5544,7 @@ AC_CONFIG_FILES([
scripts/python/module/setup.py
scripts/upsdrvsvcctl/Makefile
scripts/systemd/Makefile
scripts/systemd/nut.target
scripts/systemd/nut-common-tmpfiles.conf
scripts/systemd/nut-driver@.service
scripts/systemd/nut-monitor.service
Expand Down
1 change: 1 addition & 0 deletions scripts/systemd/.gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Note: nut-common-tmpfiles.conf.in is also generated, by configure script
/nut-common-tmpfiles.conf.in
/nut-common-tmpfiles.conf
/nut.target
/nut-driver.service
/nut-driver@.service
/nut-monitor.service
Expand Down
4 changes: 2 additions & 2 deletions scripts/systemd/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ endif !WITH_LIBSYSTEMD_INHIBITOR
systemdtmpfiles_DATA = \
nut-common-tmpfiles.conf

EXTRA_DIST += nut-driver.target nut.target nut-sleep.service
EXTRA_DIST += nut-driver.target nut-sleep.service

systemdshutdown_SCRIPTS = nutshutdown

Expand All @@ -35,7 +35,7 @@ sbin_SCRIPTS = ../upsdrvsvcctl/upsdrvsvcctl
else !HAVE_SYSTEMD
EXTRA_DIST += \
nut-driver@.service.in nut-monitor.service.in nut-sleep.service \
nut-server.service.in nutshutdown.in nut-driver.target nut.target \
nut-server.service.in nutshutdown.in nut-driver.target nut.target.in \
nut-driver-enumerator.path.in nut-driver-enumerator.service.in \
nut-driver-enumerator-daemon-activator.path.in \
nut-driver-enumerator-daemon-activator.service.in \
Expand Down
File renamed without changes.

0 comments on commit abda7cc

Please sign in to comment.