Last active
January 30, 2023 14:25
-
-
Save estahn/f2893cf061ccfcc2067c2a738ddedada to your computer and use it in GitHub Desktop.
Systemd file for Metabase
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Metabase server | |
After=syslog.target | |
After=network.target | |
[Service] | |
WorkingDirectory=/home/data/tools/metabase | |
ExecStart=/usr/bin/java -jar /home/data/tools/metabase/metabase.jar | |
Environment=MB_JETTY_PORT=8080 | |
User=data | |
Type=simple | |
StandardOutput=syslog | |
StandardError=syslog | |
SyslogIdentifier=metabase | |
SuccessExitStatus=143 | |
TimeoutStopSec=120 | |
Restart=always | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment