Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
ISPConfig 3
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Christian
ISPConfig 3
Commits
8970d374
Commit
8970d374
authored
Nov 14, 2018
by
Marius Burkard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- removed rest of prosody/metronome xmpp code
parent
a83198e1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
78 deletions
+0
-78
install/apps/metronome-init
install/apps/metronome-init
+0
-75
install/install.php
install/install.php
+0
-1
install/lib/installer_base.lib.php
install/lib/installer_base.lib.php
+0
-2
No files found.
install/apps/metronome-init
deleted
100644 → 0
View file @
a83198e1
#! /bin/sh
#
# metronome Start/stop metronome server
#
### BEGIN INIT INFO
# Provides: metronome
# Required-Start: $remote_fs $network $named $time
# Required-Stop: $remote_fs $network $named $time
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Starts metronome server
# Description: Starts metronome server, an XMPP server written in Lua.
### END INIT INFO
METRONOME
=
/usr/bin/metronomectl
PIDDIR
=
/var/run/metronome
NAME
=
metronome
test
-e
$METRONOME
||
exit
0
start
()
{
mkdir
$PIDDIR
-p
chown
metronome:metronome
$PIDDIR
chmod
750
$PIDDIR
$METRONOME
start
>>
/dev/null
}
stop
()
{
$METRONOME
stop
>>
/dev/null
}
reload
()
{
$METRONOME
reload
>>
/dev/null
}
restart
()
{
$METRONOME
restart
>>
/dev/null
}
case
"
$1
"
in
start
)
echo
-n
"Starting Metronome..."
start &
;;
stop
)
echo
-n
"Stopping Metronome..."
stop &
;;
reload
)
echo
-n
"Reloading Metronome config..."
reload &
;;
restart
)
echo
-n
"Restarting Metronome..."
restart &
;;
*
)
echo
"Usage:
$0
{start|stop|reload|restart}"
>
&2
exit
1
;;
esac
if
[
$?
-eq
0
]
;
then
echo
.
else
echo
" failed!"
fi
exit
0
install/install.php
View file @
8970d374
...
...
@@ -576,7 +576,6 @@ if($conf['bind']['installed'] == true && $conf['bind']['init_script'] != '') sys
//if($conf['squid']['installed'] == true && $conf['squid']['init_script'] != '' && is_file($conf['init_scripts'].'/'.$conf['squid']['init_script'])) system($conf['init_scripts'].'/'.$conf['squid']['init_script'].' restart &> /dev/null');
if
(
$conf
[
'nginx'
][
'installed'
]
==
true
&&
$conf
[
'nginx'
][
'init_script'
]
!=
''
)
system
(
$inst
->
getinitcommand
(
$conf
[
'nginx'
][
'init_script'
],
'restart'
)
.
' &> /dev/null'
);
if
(
$conf
[
'ufw'
][
'installed'
]
==
true
&&
$conf
[
'ufw'
][
'init_script'
]
!=
''
)
system
(
$inst
->
getinitcommand
(
$conf
[
'ufw'
][
'init_script'
],
'restart'
)
.
' &> /dev/null'
);
if
(
$conf
[
'metronome'
][
'installed'
]
==
true
&&
$conf
[
'metronome'
][
'init_script'
]
!=
''
)
system
(
$inst
->
getinitcommand
(
$conf
[
'metronome'
][
'init_script'
],
'restart'
)
.
' &> /dev/null'
);
//* test tRNG
if
(
$conf
[
'tRNG'
])
tRNG
();
...
...
install/lib/installer_base.lib.php
View file @
8970d374
...
...
@@ -172,8 +172,6 @@ class installer_base {
$conf
[
'firewall'
][
'installed'
]
=
true
;
}
if
(
is_installed
(
'fail2ban-server'
))
$conf
[
'fail2ban'
][
'installed'
]
=
true
;
if
(
is_installed
(
'metronome'
)
&&
is_installed
(
'metronomectl'
))
$conf
[
'metronome'
][
'installed'
]
=
true
;
if
(
is_installed
(
'prosody'
)
&&
is_installed
(
'prosodyctl'
))
$conf
[
'prosody'
][
'installed'
]
=
true
;
if
(
is_installed
(
'spamassassin'
))
$conf
[
'spamassassin'
][
'installed'
]
=
true
;
// if(is_installed('vlogger')) $conf['vlogger']['installed'] = true;
// ISPConfig ships with vlogger, so it is always installed.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment