diff options
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 + |
