-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdomino.service
55 lines (46 loc) · 2.52 KB
/
domino.service
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
[Unit]
###########################################################################
# systemd Service - Start/Stop Script for Domino on xLinux/zLinux/AIX #
# Version 4.0.0 16.07.2024 #
# #
# (C) Copyright Daniel Nashed/NashCom 2005-2024 #
# Feedback domino_unix@nashcom.de #
# #
# Licensed under the Apache License, Version 2.0 (the "License"); #
# you may not use this file except in compliance with the License. #
# You may obtain a copy of the License at #
# #
# http://www.apache.org/licenses/LICENSE-2.0 #
# #
# Unless required by applicable law or agreed to in writing, software #
# distributed under the License is distributed on an "AS IS" BASIS, #
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.#
# See the License for the specific language governing permissions and #
# limitations under the License. #
###########################################################################
Description=HCL Domino Server (notes)
After=syslog.target network.target
[Service]
User=notes
RuntimeDirectory=notes
RuntimeDirectoryPreserve=yes
PIDFile=/run/notes/domino.pid
ExecStart=/opt/nashcom/startscript/rc_domino_script start
ExecStop=/opt/nashcom/startscript/rc_domino_script stop
Type=forking
LimitNOFILE=80000
LimitNPROC=8000
TasksMax=8000
# to make sure startup compact operations can finish
TimeoutSec=600
TimeoutStopSec=300
RemainAfterExit=no
#Environment=LANG=en_US.UTF-8
#Environment=LANG=de_DE.UTF-8
# !! Note for environment variables and security limits !!
# Environment variables from a user profile are not set for systemd services, because no "su" is used to swich to the user.
# You either have to define them in the service, define them in the Domino config file or define them via the new DOMINO_ENV_FILE option
# The systemd service also defines security limits for the Domino server. You should still apply the same settins in /etc/security/limits.conf.
# This ensures that Domino processes started from a shell have the same security limtis specified.
[Install]
WantedBy=multi-user.target