Add deploy files

This commit is contained in:
Andros Fenollosa 2020-11-08 17:20:33 +01:00
parent 0341224158
commit 97bc15dc1d
4 changed files with 23 additions and 0 deletions

11
deploy/isahn.service Normal file
View 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
View File

@ -0,0 +1,8 @@
[Unit]
Description=isahn timer script
[Timer]
OnCalendar=*:0/1
[Install]
WantedBy=timers.target

File diff suppressed because one or more lines are too long

3
deploy/script.sh Normal file
View File

@ -0,0 +1,3 @@
cd /root/isahn
java -jar isahn-1.0.1-standalone.jar