aboutsummaryrefslogtreecommitdiff
path: root/tech_blog_service
diff options
context:
space:
mode:
Diffstat (limited to 'tech_blog_service')
-rwxr-xr-xtech_blog_service6
1 files changed, 6 insertions, 0 deletions
diff --git a/tech_blog_service b/tech_blog_service
new file mode 100755
index 0000000..25907f4
--- /dev/null
+++ b/tech_blog_service
@@ -0,0 +1,6 @@
+#!/sbin/openrc-run
+
+command="/usr/local/bin/tech_blog.sh"
+pidfile="/run/${RC_SVCNAME}.pid"
+command_args="-p ${pidfile}"
+command_background=True