commit 5d37721607b88d1cefa1b2514d0ebc94d6598051 Author: Harsh Shandilya Date: Fri Feb 9 05:55:56 2018 +0000 Initial commit diff --git a/c9.service b/c9.service new file mode 100644 index 0000000..644f046 --- /dev/null +++ b/c9.service @@ -0,0 +1,13 @@ +[Unit] +Description=Jarvis-CI-Bot service +After=network.target + +[Service] +Type=simple +User=root +WorkingDirectory=/etc/caddy/core +ExecStart=/usr/bin/node /etc/caddy/core/server.js -p 8080 -a : -w ~/ +Restart=on-abort + +[Install] +WantedBy=multi-user.target \ No newline at end of file diff --git a/caddy.service b/caddy.service new file mode 100644 index 0000000..cce2136 --- /dev/null +++ b/caddy.service @@ -0,0 +1,13 @@ +[Unit] +Description=Caddy webserver service +After=network.target + +[Service] +Type=simple +User=root +WorkingDirectory=/etc/caddy +ExecStart=/usr/local/bin/caddy -conf /etc/caddy/Caddyfile +Restart=on-abort + +[Install] +WantedBy=multi-user.target \ No newline at end of file diff --git a/jarvis-bot.service b/jarvis-bot.service new file mode 100644 index 0000000..5a5a6ee --- /dev/null +++ b/jarvis-bot.service @@ -0,0 +1,13 @@ +[Unit] +Description=Jarvis-CI-Bot service +After=network.target + +[Service] +Type=simple +User=root +WorkingDirectory=/root/jarvis-ci-bot +ExecStart=/root/jarvis-ci-bot/build.py +Restart=on-abort + +[Install] +WantedBy=multi-user.target \ No newline at end of file