diff options
| author | St33v <github@f3rr3t.com> | 2026-01-30 16:50:29 +1100 |
|---|---|---|
| committer | St33v <github@f3rr3t.com> | 2026-01-30 16:50:29 +1100 |
| commit | 1aa0fd8536d6bff705e61a325840336c08082b8c (patch) | |
| tree | 364c33721e5876ac54ab0869d9c591aef8b6ccf5 /forge | |
| parent | 1cf6076fba9196a74ea16979b5b0d41fab492ba0 (diff) | |
systemd build path and service
Diffstat (limited to 'forge')
| -rw-r--r-- | forge/script/sotd-build.path | 10 | ||||
| -rw-r--r-- | forge/script/sotd-build.service | 8 |
2 files changed, 18 insertions, 0 deletions
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 + |
