summaryrefslogtreecommitdiff
path: root/LaunchDaemons
diff options
context:
space:
mode:
Diffstat (limited to 'LaunchDaemons')
-rw-r--r--LaunchDaemons/MistyOS.yml9
-rw-r--r--LaunchDaemons/Node.yml9
-rw-r--r--LaunchDaemons/Test.yml7
3 files changed, 25 insertions, 0 deletions
diff --git a/LaunchDaemons/MistyOS.yml b/LaunchDaemons/MistyOS.yml
new file mode 100644
index 0000000..45605c5
--- /dev/null
+++ b/LaunchDaemons/MistyOS.yml
@@ -0,0 +1,9 @@
+metadata:
+ description: MistyOS Operating System
+ target: 0
+
+commands:
+ start: "true"
+ stop: "/System/Library/Frameworks/NodeJS/MistyRuntime /System/Library/MistyCore/power/shutdown.js"
+ restart: "/System/Library/Frameworks/NodeJS/MistyRuntime /System/Library/MistyCore/power/reboot.js"
+
diff --git a/LaunchDaemons/Node.yml b/LaunchDaemons/Node.yml
new file mode 100644
index 0000000..1ffc084
--- /dev/null
+++ b/LaunchDaemons/Node.yml
@@ -0,0 +1,9 @@
+metadata:
+ description: Test launch daemon
+ target: false
+
+commands:
+ start: "/System/Library/Frameworks/NodeJS/MistyRuntime"
+ stop: "/System/Library/Frameworks/NodeJS/MistyRuntime"
+ restart: "/System/Library/Frameworks/NodeJS/MistyRuntime"
+
diff --git a/LaunchDaemons/Test.yml b/LaunchDaemons/Test.yml
new file mode 100644
index 0000000..67b47f7
--- /dev/null
+++ b/LaunchDaemons/Test.yml
@@ -0,0 +1,7 @@
+metadata:
+ description: Test launch daemon
+ target: false
+
+commands:
+ start: "/System/Library/Frameworks/NodeJS/MistyRuntime"
+