mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-06 16:46:54 +02:00
Update to 2021-12-01 19:13
This commit is contained in:
20
roles/matrix_ma1sd/templates/matrix-ma1sd.service.j2
Normal file
20
roles/matrix_ma1sd/templates/matrix-ma1sd.service.j2
Normal file
@@ -0,0 +1,20 @@
|
||||
[Unit]
|
||||
Description=Matrix Identity Service Daemon
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User={{ ma1sd_user }}
|
||||
Group={{ ma1sd_user }}
|
||||
ExecStart=/usr/bin/java -cp "{{ ma1sd_root_dir }}/app/lib/*" io.kamax.mxisd.MxisdStandaloneExec -c {{ ma1sd_root_dir }}/etc/ma1sd.yaml
|
||||
PrivateTmp=yes
|
||||
PrivateDevices=yes
|
||||
ProtectSystem=full
|
||||
ProtectHome=yes
|
||||
NoNewPrivileges=yes
|
||||
MemoryLimit={{ ma1sd_max_mem }}M
|
||||
SyslogIdentifier=matrix-ma1sd
|
||||
Restart=on-failure
|
||||
SuccessExitStatus=143
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Reference in New Issue
Block a user