initial commit of file from CVS for e-smith-nutUPS on Wed 12 Jul 09:01:20 BST 2023

This commit is contained in:
Brian Read
2023-07-12 09:01:20 +01:00
parent d9332aba34
commit 667523a800
63 changed files with 1241 additions and 2 deletions

View File

@@ -0,0 +1,23 @@
[Unit]
Description=Network UPS Tools - Parent service for Koozali SME Server
After=local-fs.target network.target network-online.target
Before=nut-server.service
[Service]
ExecStartPre=/sbin/e-smith/service-status nut
ExecStartPre=-/sbin/e-smith/expand-template /etc/sysconfig/ups
ExecStartPre=-/sbin/e-smith/expand-template /etc/ups/ups.conf
ExecStartPre=-/sbin/e-smith/expand-template /etc/ups/upsd.conf
ExecStartPre=-/sbin/e-smith/expand-template /etc/ups/upsd.users
ExecStartPre=-/sbin/e-smith/expand-template /etc/ups/upsmon.conf
ExecStartPre=-/sbin/e-smith/expand-template /etc/ups/upssched.conf
# The dummy program will exit
Type=oneshot
# Execute a dummy program
ExecStart=/bin/true
# This service shall be considered active after start
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target sme-server.target