summarylogtreecommitdiffstats
path: root/tabbyml.service
blob: bea25a14c659ecf87c083a68b2913006efdfe575 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[Unit]
Description=TabbyML self-hosted AI coding assistant
Documentation=https://tabby.tabbyml.com/docs/
After=network-online.target
Wants=network-online.target

[Service]
Type=simple
Environment=TABBY_ROOT=%E/tabbyml
Environment=RUST_LOG=info
EnvironmentFile=-%E/tabbyml/tabbyml.env
ExecStartPre=/usr/bin/mkdir -p %E/tabbyml
WorkingDirectory=-%E/tabbyml
ExecStart=/usr/bin/tabbyml serve $TABBYML_SERVE_ARGS
Restart=on-failure
RestartSec=5
UMask=0077

[Install]
WantedBy=default.target