summarylogtreecommitdiffstats
path: root/reader-pro-multi.service
blob: 2659305f16f77a6a063ee1119fd5ce6707e05d4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[Unit]
Description=Reader Pro Multi User Mode
After=network.target

[Service]
User=reader-pro
Group=reader-pro
WorkingDirectory=/var/lib/reader-pro
Environment=JAVA_HOME=/usr/lib/jvm/default
ExecStart=/usr/bin/reader-pro -m multi -i <invite-code> -k <secure-key>
SuccessExitStatus=143
Restart=on-failure
RestartSec=5
TimeoutStartSec=30
TimeoutStopSec=3
StandardOutput=journal+console
StandardError=journal+console
LimitNOFILE=65536

[Install]
WantedBy=multi-user.target