Update .gitignore to exclude build artifacts and remove accidentally committed files

Co-authored-by: otoolep <536312+otoolep@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-07-15 03:25:19 +00:00
parent 2cec66aacd
commit 9065eddebe
16 changed files with 6 additions and 66 deletions

6
.gitignore vendored
View File

@@ -55,3 +55,9 @@ _testmain.go
*.exe
*.test
# Build artifacts
*.tar.gz
*.deb
rqlite-v*
pkg/

View File

@@ -1,15 +0,0 @@
Package: rqlite
Version: 6.8.0
Architecture: amd64
Maintainer: Philip O'Toole <philip.otoole@rqlite.io>
Homepage: https://rqlite.io
Description: rqlite - lightweight, distributed relational database built on SQLite
rqlite is an easy-to-use, lightweight, distributed relational database,
which uses SQLite as its storage engine. rqlite gives you the functionality
of a rock solid, fault-tolerant, replicated relational database, but with
very easy installation, deployment, and operation.
.
With rqlite you've got a lightweight and reliable distributed relational
data store. Think etcd or Consul, but with relational data modelling,
the most widely used query language of all time, and relaxed consistency
requirements.

View File

@@ -1,27 +0,0 @@
#!/bin/bash
set -e
# Create rqlite system user and group if they don't exist
if ! getent group rqlite >/dev/null 2>&1; then
addgroup --system rqlite
fi
if ! getent passwd rqlite >/dev/null 2>&1; then
adduser --system --no-create-home --home /var/lib/rqlite --shell /bin/false --group rqlite
fi
# Create data directory and set permissions
mkdir -p /var/lib/rqlite
chown rqlite:rqlite /var/lib/rqlite
chmod 755 /var/lib/rqlite
# Reload systemd daemon to recognize new service
if [ -d /run/systemd/system ]; then
systemctl daemon-reload >/dev/null 2>&1 || true
fi
# Print installation message
echo "rqlite has been installed successfully."
echo "To start the rqlite service, run: sudo systemctl enable --now rqlite"
echo "Configuration can be modified in /etc/default/rqlite"
echo "Data directory: /var/lib/rqlite"

View File

@@ -1,9 +0,0 @@
#!/bin/bash
set -e
# Stop the rqlite service if it's running
if [ -d /run/systemd/system ]; then
if systemctl is-active --quiet rqlite; then
systemctl stop rqlite >/dev/null 2>&1 || true
fi
fi

View File

@@ -1,15 +0,0 @@
[Unit]
Description=rqlite database server node
After=network.target
[Service]
Type=simple
User=rqlite
WorkingDirectory=/var/lib/rqlite
EnvironmentFile=-/etc/default/rqlite
ExecStart=/usr/bin/rqlited $RQLITE_EXTRA_ARGS /var/lib/rqlite
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.