You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
462 B
20 lines
462 B
5 years ago
|
[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
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|