2022-03-01 23:49:53 +01:00
|
|
|
[Unit]
|
|
|
|
Description=metabase
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=exec
|
|
|
|
User=metabase
|
2022-03-24 02:48:03 +01:00
|
|
|
EnvironmentFile=-/etc/default/metabase
|
2022-03-01 23:49:53 +01:00
|
|
|
ExecStart=/usr/bin/java -jar /usr/share/metabase/metabase.jar
|
2022-03-24 02:48:03 +01:00
|
|
|
WorkingDirectory=/var/lib/metabase
|
2022-03-01 23:49:53 +01:00
|
|
|
Restart=on-failure
|
|
|
|
RestartSec=30s
|
2022-03-02 22:15:23 +01:00
|
|
|
ReadWritePaths=/var/lib/metabase
|
2022-03-01 23:49:53 +01:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|