summaryrefslogtreecommitdiff
path: root/LaunchDaemons
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2022-11-28 17:31:34 +0100
committerMinteck <contact@minteck.org>2022-11-28 17:31:34 +0100
commit7923aa8942b55884320ef2428417e3ee4b121613 (patch)
tree7993632f2898b1998f25b11ce40a8d2eb3d44730 /LaunchDaemons
downloadmistyos-og-7923aa8942b55884320ef2428417e3ee4b121613.tar.gz
mistyos-og-7923aa8942b55884320ef2428417e3ee4b121613.tar.bz2
mistyos-og-7923aa8942b55884320ef2428417e3ee4b121613.zip
Initial commitHEADmane
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"
+