debmaker/ressources/metabase/rootfs/usr/lib/systemd/system/metabase.service

16 lines
306 B
SYSTEMD
Raw Permalink Normal View History

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
ReadWritePaths=/var/lib/metabase
2022-03-01 23:49:53 +01:00
[Install]
WantedBy=multi-user.target