/lib/systemd/system/dirsrv-admin.service is in 389-admin 1.1.46-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | [Unit]
Description=389 Administration Server.
After=network.target dirsrv.target
[Service]
Type=forking
PIDFile=/run/dirsrv/admin-serv.pid
# to set the kerberos keytab
# Environment=KRB5_KTNAME=/etc/dirsrv/myname.keytab
EnvironmentFile=/etc/default/dirsrv-admin
ExecStart=/usr/sbin/apache2 -k start -f /etc/dirsrv/admin-serv/httpd.conf
ExecReload=/usr/sbin/apache2 -t
ExecReload=/bin/kill -HUP $MAINPID
ExecStop=/usr/sbin/apache2 $OPTIONS -k stop -f /etc/dirsrv/admin-serv/httpd.conf
# to raise the file descriptor limit
# LimitNOFILE=8192
[Install]
WantedBy=multi-user.target
|