← Back to list
The
What
The Build Script (

daemon-build
by yanivprusman
⭐ 0🍴 0📅 Jan 25, 2026
SKILL.md
name: daemon-build description: Detailed instructions for building, deploying, and restarting the AutomateLinux daemon.
Building the Daemon
Managing the AutomateLinux daemon build process is streamlined through shell functions and a core build script.
The bd Terminal Function
The fastest way to rebuild the daemon from anywhere in the terminal is the bd function.
bd
What bd does:
- Temporarily changes directory to the daemon source folder.
- Runs the build script using the
bs(build-source) alias. - Returns to your original directory.
The Build Script (daemon/build.sh)
The underlying logic resides in daemon/build.sh. It performs high-level system maintenance alongside the compilation:
- Stop Daemon: Runs
stop_daemon.shto ensure no active process holds files. - Socket Setup: Ensures
/run/automatelinuxexists with correct permissions (required for Unix Domain Socket communication). - CMake Build:
- Enters the
build/directory. - Executes
cmake ... - Executes
make.
- Enters the
- Deployment:
- Copies the resulting
daemonbinary back to the root of the daemon directory. - Reloads systemd configs:
sudo systemctl daemon-reload. - Restarts the service:
sudo systemctl restart daemon.service.
- Copies the resulting
Technical Requirements
- Permissions: The build process frequently calls
sudofor systemd and socket management. - Dependencies: Requires
cmake,libevdev,libsystemd, andlibmysqlclient. - UDS Path: The daemon communicates via
/run/automatelinux/automatelinux-daemon.sock.
[!IMPORTANT] Always use
bdrather than callingmakedirectly in thebuild/folder to ensure the binary is correctly deployed and the systemd service is refreshed.
Score
Total Score
50/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon