blob: 162f48daae03ec1573e7422d046640d5b4b49146 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
[Unit]
Description=Minima on port %I
After=syslog.target network.target
[Service]
User=minima
Type=simple
ExecStart=/usr/bin/java -Xmx1G -jar /usr/bin/minima.jar -daemon -port %I -data /var/lib/minima/data-%I -conf /etc/minima/minima-%I.conf
Restart=always
RestartSec=20
[Install]
WantedBy=multi-user.target
|