blob: fde15d1080ef453980a16373e2065cadc6454dd3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
// SPDX-License-Identifier: AGPL-3.0-only
// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
// The main entry point to the Lindenii Forge daemon.
package main
import (
"flag"
"go.lindenii.runxiyu.org/forge/forged/internal/unsorted"
)
func main() {
configPath := flag.String(
"config",
"/etc/lindenii/forge.scfg",
"path to configuration file",
)
flag.Parse()
s, err := unsorted.NewServer(*configPath)
if err != nil {
panic(err)
}
panic(s.Run())
}
|