15 lines
271 B
SYSTEMD
15 lines
271 B
SYSTEMD
|
[Unit]
|
||
|
Description=metabase
|
||
|
|
||
|
[Service]
|
||
|
Type=exec
|
||
|
User=metabase
|
||
|
WorkingDirectory=/var/share/metabase
|
||
|
ExecStart=/usr/bin/java -jar /usr/share/metabase/metabase.jar
|
||
|
Restart=on-failure
|
||
|
RestartSec=30s
|
||
|
ReadWritePaths=/var/share/metabase
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|