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