2022-08-12 14:52:15 +00:00
|
|
|
[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:
|
2023-07-29 18:47:25 +00:00
|
|
|
; Environment=SURREAL_USER=root
|
|
|
|
; Environment=SURREAL_PASS=root
|
|
|
|
; Environment=SURREAL_BIND=0.0.0.0:8000
|
|
|
|
; Environment=SURREAL_LOG=debug
|
|
|
|
; Environment=SURREAL_STRICT=false
|
2022-08-12 14:52:15 +00:00
|
|
|
|
|
|
|
[Install]
|
2023-07-29 18:47:25 +00:00
|
|
|
WantedBy=multi-user.target
|