-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refs: IN-557
- Loading branch information
Showing
8 changed files
with
107 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[Unit] | ||
Description=Carbonio Appserver DB Daemon | ||
After=carbonio-configd.service | ||
Wants=carbonio-configd.service | ||
PartOf=carbonio-appserver.target carbonio-ce.target carbonio.target | ||
|
||
[Service] | ||
User=zextras | ||
EnvironmentFile=-/opt/zextras/data/systemd.env | ||
ExecStart=/opt/zextras/common/bin/mysqld_safe \ | ||
--defaults-file=${mysql_mycnf} \ | ||
--external-locking \ | ||
--log-error=${mysql_errlogfile} \ | ||
--malloc-lib=/opt/zextras/common/lib/libjemalloc.so \ | ||
--ledir=/opt/zextras/common/sbin | ||
|
||
[Install] | ||
WantedBy=carbonio-appserver.target carbonio-ce.target carbonio.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
[Unit] | ||
Description=Carbonio Appserver Daemon | ||
After=carbonio-appserver-db.service | ||
Wants=carbonio-appserver-db.service | ||
PartOf=carbonio-appserver.target carbonio-ce.target carbonio.target | ||
|
||
[Service] | ||
User=zextras | ||
PIDFile=/opt/zextras/log/zmmailboxd_java.pid | ||
EnvironmentFile=-/opt/zextras/data/systemd.env | ||
ExecStartPre=/opt/zextras/bin/zmtlsctl | ||
ExecStart=/opt/zextras/common/bin/java \ | ||
-Dfile.encoding=UTF-8 \ | ||
$mailboxd_java_options \ | ||
-Xms${java_xms}m \ | ||
-Xmx${java_xmx}m \ | ||
-Djava.io.tmpdir=/opt/zextras/mailboxd/work \ | ||
-Djava.library.path=/opt/zextras/lib \ | ||
-Dzimbra.config=/opt/zextras/conf/localconfig.xml \ | ||
--module-path /opt/zextras/mailboxd/common/endorsed \ | ||
-Djetty.base=/opt/zextras/mailboxd \ | ||
-Djetty.home=/opt/zextras/common/jetty_home \ | ||
-DSTART=/opt/zextras/mailboxd/etc/start.config \ | ||
-jar /opt/zextras/common/jetty_home/start.jar \ | ||
--module=zimbra,server,mail,servlet,servlets,jsp,jstl,jmx,resources,websocket,ext,plus,rewrite,continuation,webapp,setuid \ | ||
jetty.home=/opt/zextras/common/jetty_home \ | ||
jetty.base=/opt/zextras/mailboxd \ | ||
/opt/zextras/mailboxd/etc/jetty.xml | ||
RestartSec=3 | ||
Restart=on-failure | ||
SuccessExitStatus=143 | ||
|
||
[Install] | ||
WantedBy=carbonio-appserver.target carbonio-ce.target carbonio.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
[Unit] | ||
Description=Carbonio Milter Daemon | ||
After=carbonio-configd.service | ||
Wants=carbonio-configd.service | ||
PartOf=carbonio-mta.target carbonio-ce.target carbonio.target | ||
|
||
[Service] | ||
User=zextras | ||
PIDFile=/opt/zextras/log/milter.pid | ||
EnvironmentFile=-/opt/zextras/data/systemd.env | ||
ExecStart=/opt/zextras/common/lib/jvm/java/bin/java \ | ||
-XX:ErrorFile=/opt/zextras/log \ | ||
-client \ | ||
$java_options \ | ||
-Dzimbra.home=/opt/zextras \ | ||
-Djava.library.path=$java_library_path \ | ||
-classpath ${java_ext_dirs}:/opt/zextras/lib/jars/*:/opt/zextras/conf \ | ||
-Dlog4j.configurationFile=file:/opt/zextras/conf/milter.log4j.properties \ | ||
-Dzimbra.config=/opt/zextras/conf/localconfig.xml \ | ||
com.zimbra.cs.milter.MilterServer | ||
Restart=on-failure | ||
|
||
[Install] | ||
WantedBy=carbonio-mta.target carbonio-ce.target carbonio.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[Unit] | ||
Description=Carbonio Directory Server | ||
Documentation=man:systemd.special(7) | ||
Requires=multi-user.target | ||
After=multi-user.target | ||
PartOf=carbonio-ce.target carbonio.target | ||
AllowIsolate=yes |