From 1aa0fd8536d6bff705e61a325840336c08082b8c Mon Sep 17 00:00:00 2001 From: St33v Date: Fri, 30 Jan 2026 16:50:29 +1100 Subject: systemd build path and service --- forge/script/sotd-build.path | 10 ++++++++++ forge/script/sotd-build.service | 8 ++++++++ 2 files changed, 18 insertions(+) create mode 100644 forge/script/sotd-build.path create mode 100644 forge/script/sotd-build.service (limited to 'forge') diff --git a/forge/script/sotd-build.path b/forge/script/sotd-build.path new file mode 100644 index 0000000..2038432 --- /dev/null +++ b/forge/script/sotd-build.path @@ -0,0 +1,10 @@ +[Unit] +Description=Watch forge/in for new SOTD WAV + +[Path] +PathChanged=%h/dox/st33v.com/forge/in +PathModified=%h/dox/st33v.com/forge/in + +[Install] +WantedBy=default.target + diff --git a/forge/script/sotd-build.service b/forge/script/sotd-build.service new file mode 100644 index 0000000..44019ca --- /dev/null +++ b/forge/script/sotd-build.service @@ -0,0 +1,8 @@ +[Unit] +Description=SOTD forge build (forge/in -> forge/out) + +[Service] +Type=oneshot +ExecStart=/usr/local/bin/sotd-build +WorkingDirectory=%h/dox/st33v.com + -- cgit v1.3