We don't need the template file anymore
This commit is contained in:
parent
47c452f977
commit
b13c627230
1
Vagrantfile
vendored
1
Vagrantfile
vendored
|
@ -22,7 +22,6 @@ if [ ! -d /usr/share/scripts ]; then
|
||||||
chown root:$1 /usr/share/scripts
|
chown root:$1 /usr/share/scripts
|
||||||
fi
|
fi
|
||||||
ln -fs /vagrant/evomaintenance.sh /usr/share/scripts
|
ln -fs /vagrant/evomaintenance.sh /usr/share/scripts
|
||||||
ln -fs /vagrant/evomaintenance.tpl /usr/share/scripts
|
|
||||||
ln -fs /vagrant/evomaintenance.cf /etc
|
ln -fs /vagrant/evomaintenance.cf /etc
|
||||||
SCRIPT
|
SCRIPT
|
||||||
|
|
||||||
|
|
1
debian/rules
vendored
1
debian/rules
vendored
|
@ -24,7 +24,6 @@ install: build
|
||||||
dh_installdirs
|
dh_installdirs
|
||||||
install -m 700 -d $(CURDIR)/debian/evomaintenance/usr/share/scripts
|
install -m 700 -d $(CURDIR)/debian/evomaintenance/usr/share/scripts
|
||||||
install -m 700 evomaintenance.sh $(CURDIR)/debian/evomaintenance/usr/share/scripts/
|
install -m 700 evomaintenance.sh $(CURDIR)/debian/evomaintenance/usr/share/scripts/
|
||||||
install -m 600 evomaintenance.tpl $(CURDIR)/debian/evomaintenance/usr/share/scripts/
|
|
||||||
install -m 755 -d $(CURDIR)/debian/evomaintenance/etc
|
install -m 755 -d $(CURDIR)/debian/evomaintenance/etc
|
||||||
install -m 600 evomaintenance.cf $(CURDIR)/debian/evomaintenance/etc/
|
install -m 600 evomaintenance.cf $(CURDIR)/debian/evomaintenance/etc/
|
||||||
# Build architecture-independent files here.
|
# Build architecture-independent files here.
|
||||||
|
|
|
@ -1,33 +0,0 @@
|
||||||
From: __FULLFROM__
|
|
||||||
Content-Type: text/plain; charset=UTF-8
|
|
||||||
MIME-Version: 1.0
|
|
||||||
Content-Transfer-Encoding: 8bit
|
|
||||||
To: __TO__
|
|
||||||
Subject: [evomaintenance] Intervention sur __HOSTNAME__ (__USER__)
|
|
||||||
|
|
||||||
Bonjour,
|
|
||||||
|
|
||||||
Une intervention vient de se terminer sur votre serveur.
|
|
||||||
Voici les renseignements sur l'intervention :
|
|
||||||
|
|
||||||
Nom du serveur : __HOSTNAME__
|
|
||||||
Personne ayant réalisée l'intervention : __USER__
|
|
||||||
Intervention réalisée depuis : __IP__
|
|
||||||
Début de l'intervention : __BEGIN_DATE__
|
|
||||||
Fin de l'intervention : __END_DATE__
|
|
||||||
|
|
||||||
###
|
|
||||||
Renseignements sur l'intervention :
|
|
||||||
__TEXTE__
|
|
||||||
###
|
|
||||||
|
|
||||||
__GIT_COMMITS__
|
|
||||||
|
|
||||||
Pour réagir à cette intervention, vous pouvez répondre à ce message
|
|
||||||
(sur l'adresse mail __FROM__). En cas d'urgence, utilisez
|
|
||||||
l'adresse __URGENCYFROM__ ou notre téléphone portable d'astreinte
|
|
||||||
(__URGENCYTEL__)
|
|
||||||
|
|
||||||
Cordialement,
|
|
||||||
--
|
|
||||||
__FULLFROM__
|
|
Loading…
Reference in a new issue