mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-28 16:13:25 +02:00
20 lines
439 B
Plaintext
20 lines
439 B
Plaintext
![]() |
[Unit]
|
||
|
Description=Matrix Identity Service Daemon
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
User={{ mxisd_user }}
|
||
|
Group={{ mxisd_user }}
|
||
|
ExecStart=/usr/bin/java -jar {{ mxisd_root_dir }}/app/build/libs/app.jar -c {{ mxisd_root_dir }}/etc/mxisd.yaml
|
||
|
PrivateTmp=yes
|
||
|
PrivateDevices=yes
|
||
|
ProtectSystem=full
|
||
|
ProtectHome=yes
|
||
|
NoNewPrivileges=yes
|
||
|
MemoryLimit={{ mxisd_max_mem }}M
|
||
|
SyslogIdentifier=matrix-mxisd
|
||
|
Restart=on-failure
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|