You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is no daemon mode to start SurrealDB in the background, e.g. under Linux (there is also no way to use a config file #2042). It would be easier if there was an option like --daemon. Otherwise you have to work with "nohup" and others. These are the basics a DB should have.
On Ubuntu, we currently make do with a systemd config. However, a daemon mode would be nicer and easier.
File: /etc/systemd/system/surrealdb.service
[Unit]
Description=SurrealDB Server
After=network.target
[Service]
Type=simple
User=<username>
ExecStart=/usr/local/bin/surreal start --log info --bind 0.0.0.0:8000 file:///opt/surrealdb/data/
StandardOutput=append:/var/log/surrealdb.log
StandardError=inherit
Restart=on-failure
[Install]
WantedBy=multi-user.target
There is no daemon mode to start SurrealDB in the background, e.g. under Linux (there is also no way to use a config file #2042). It would be easier if there was an option like --daemon. Otherwise you have to work with "nohup" and others. These are the basics a DB should have.
On Ubuntu, we currently make do with a systemd config. However, a daemon mode would be nicer and easier.
File:
/etc/systemd/system/surrealdb.service
Activate and start the service:
Stop and check status:
Greetings
Frank
SurrealDB version
Running 1.4.2 for linux on x86_64 (Ubuntu LTS)
The text was updated successfully, but these errors were encountered: