debmaker/ressources/metabase/rootfs/etc/systemd/system/metabase.service

15 lines
267 B
Desktop File

[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