16 lines
306 B
Desktop File
16 lines
306 B
Desktop File
[Unit]
|
|
Description=metabase
|
|
|
|
[Service]
|
|
Type=exec
|
|
User=metabase
|
|
EnvironmentFile=-/etc/default/metabase
|
|
ExecStart=/usr/bin/java -jar /usr/share/metabase/metabase.jar
|
|
WorkingDirectory=/var/lib/metabase
|
|
Restart=on-failure
|
|
RestartSec=30s
|
|
ReadWritePaths=/var/lib/metabase
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|