feat: build vehicle data platform and production pipeline
This commit is contained in:
21
deploy/systemd/lingniu-go-fields-projector.service
Normal file
21
deploy/systemd/lingniu-go-fields-projector.service
Normal file
@@ -0,0 +1,21 @@
|
||||
[Unit]
|
||||
Description=Lingniu Go RAW Fields Projector
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
WorkingDirectory=/opt/lingniu-go-native/current
|
||||
EnvironmentFile=/opt/lingniu-go-native/env/base.env
|
||||
EnvironmentFile=/opt/lingniu-go-native/env/fields-projector.env
|
||||
Environment=GOMEMLIMIT=384MiB
|
||||
ExecStart=/opt/lingniu-go-native/current/fields-projector
|
||||
Restart=always
|
||||
RestartSec=3
|
||||
LimitNOFILE=1048576
|
||||
MemoryLimit=512M
|
||||
KillSignal=SIGTERM
|
||||
TimeoutStopSec=30
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user