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

15 lines
271 B
SYSTEMD
Raw Normal View History

2022-03-01 23:49:53 +01:00
[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