mirror of
https://github.com/msfjarvis/server-config
synced 2025-08-14 22:16:59 +05:30
Initial commit
This commit is contained in:
commit
5d37721607
3 changed files with 39 additions and 0 deletions
13
c9.service
Normal file
13
c9.service
Normal file
|
@ -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
|
13
caddy.service
Normal file
13
caddy.service
Normal file
|
@ -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
|
13
jarvis-bot.service
Normal file
13
jarvis-bot.service
Normal file
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue