surrealpatch/pkg/deb/service
Salvador Girones Gil 998b263517
[iam] RBAC and multiple root users (#2176)
Co-authored-by: Przemyslaw Hugh Kaznowski <hughkaznowski@protonmail.com>
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2023-07-29 18:47:25 +00:00

24 lines
449 B
Text

[Unit]
Description=SurrealDB Service
[Service]
Type=simple
ExecStart=/usr/share/surreal/surreal start
WorkingDirectory=/usr/share/surreal
Restart=always
KillMode=process
LimitNOFILE=infinity
LimitCORE=infinity
; Environment variables:
; Environment=SURREAL_USER=root
; Environment=SURREAL_PASS=root
; Environment=SURREAL_BIND=0.0.0.0:8000
; Environment=SURREAL_LOG=debug
; Environment=SURREAL_STRICT=false
[Install]
WantedBy=multi-user.target