-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscripts.yaml
51 lines (25 loc) · 979 Bytes
/
scripts.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
scripts:
exec: stack exec pdfServerScotty-exe
start-nh: nohup ./pdfServer &
start-co: ./pdfServer
start: systemctl start pdfServer
edit-start: vim /etc/systemd/system/pdfServer.service
ssh: ssh [email protected]
ping: ping 161.35.125.40
hello: curl http://pdfserv.app/hello
hello2: curl https://pdfserv.app/hello
clean: rm pdfFiles/*; rm texFiles/*; rm image/*;
alive: sudo lsof -n -i :3000
reload: systemctl reload nginx
config: cat /etc/nginx/sites-available/pdfserver
edit-server: vim /etc/nginx/sites-available/pdfserver
logs: tail /var/log/nginx/access.log
nginx: systemctl status nginx
certbot-renew: certbot renew
nginx-stop: systemctl stop nginx
nginx-restart: systemctl restart nginx
nginx-start: systemctl start nginx
test-server: curl http://161.35.125.40/hello
test-server2: curl https://shoobox.io/hello
test-server3: curl -X POST https://shoobox.io/hello
cloc: cloc --by-file src app