mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-03-22 08:41:57 +00:00
Closes #4987 ```[tasklist] ### Before merging - [x] Get an x64 test VM on the Windows laptop and test a CI-built deb ```
16 lines
385 B
Bash
Executable File
16 lines
385 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Usage: dpkg will call this after installing our files
|
|
# This must be idempotent
|
|
|
|
set -euo pipefail
|
|
|
|
SERVICE_NAME="firezone-client-ipc"
|
|
|
|
# Creates the system group `firezone-client`
|
|
sudo systemd-sysusers
|
|
|
|
echo "Starting and enabling Firezone IPC service..."
|
|
sudo systemctl daemon-reload
|
|
sudo systemctl enable "$SERVICE_NAME"
|
|
sudo systemctl restart "$SERVICE_NAME"
|