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
439 B
20 lines
439 B
5 years ago
|
[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
|