[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
