initial commit of file from CVS for e-smith-nutUPS on Wed 12 Jul 09:01:20 BST 2023
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
#------------------------------------------------------------
|
||||
# !!DO NOT MODIFY THIS FILE!!
|
||||
#
|
||||
# Manual changes will be lost when this file is regenerated.
|
||||
#
|
||||
# Please read the developer's guide, which is available
|
||||
# at http://www.contribs.org/development/
|
||||
#
|
||||
# Copyright (C) 1999-2006 Mitel Networks Corporation
|
||||
#------------------------------------------------------------
|
||||
|
||||
[Service]
|
||||
ExecStartPre=
|
||||
ExecStartPre=-/usr/bin/systemd-tmpfiles --create /usr/lib/tmpfiles.d/nut-run.conf
|
0
root/usr/lib/systemd/system/nut-monitor.service.d/.gitignore
vendored
Normal file
0
root/usr/lib/systemd/system/nut-monitor.service.d/.gitignore
vendored
Normal file
0
root/usr/lib/systemd/system/nut-server.service.d/.gitignore
vendored
Normal file
0
root/usr/lib/systemd/system/nut-server.service.d/.gitignore
vendored
Normal file
23
root/usr/lib/systemd/system/nut.service
Normal file
23
root/usr/lib/systemd/system/nut.service
Normal 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
|
Reference in New Issue
Block a user