Add deploy files
This commit is contained in:
parent
0341224158
commit
97bc15dc1d
11
deploy/isahn.service
Normal file
11
deploy/isahn.service
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=isahn
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
|
Environment=DISPLAY=:0
|
||||||
|
ExecStart=/bin/bash /root/isahn/script.sh
|
||||||
|
User=root
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
8
deploy/isahn.timer
Normal file
8
deploy/isahn.timer
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=isahn timer script
|
||||||
|
|
||||||
|
[Timer]
|
||||||
|
OnCalendar=*:0/1
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=timers.target
|
1
deploy/isahn_history.json
Normal file
1
deploy/isahn_history.json
Normal file
File diff suppressed because one or more lines are too long
3
deploy/script.sh
Normal file
3
deploy/script.sh
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
cd /root/isahn
|
||||||
|
java -jar isahn-1.0.1-standalone.jar
|
||||||
|
|
Loading…
Reference in New Issue
Block a user