mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-20 04:03:15 +02:00
24 lines
638 B
Plaintext
24 lines
638 B
Plaintext
![]() |
[Unit]
|
||
|
Description=OpenXPKI Trustcenter Backend
|
||
|
After=network.target
|
||
|
|
||
|
[Service]
|
||
|
Type=forking
|
||
|
Environment=PERL5LIB={{ pki_root_dir }}/lib/perl5
|
||
|
ExecStart={{ pki_root_dir }}/bin/openxpkictl --config={{ pki_root_dir }}/etc/config.d/ start
|
||
|
ExecStop={{ pki_root_dir }}/bin/openxpkictl --config={{ pki_root_dir }}/etc/config.d/ stop
|
||
|
ExecReload={{ pki_root_dir }}/bin/openxpkictl --config={{ pki_root_dir }}/etc/config.d/ reload
|
||
|
KillMode=process
|
||
|
PrivateTmp=yes
|
||
|
PrivateDevices=yes
|
||
|
ProtectSystem=full
|
||
|
ProtectHome=yes
|
||
|
NoNewPrivileges=yes
|
||
|
MemoryLimit=1024M
|
||
|
Restart=on-failure
|
||
|
StartLimitInterval=0
|
||
|
RestartSec=20
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|