Last active
July 8, 2017 08:54
-
-
Save hridaydutta123/33ac5095541b4c05b11936569c814bb2 to your computer and use it in GitHub Desktop.
Rpi Services
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create-AP (Link : https://github.com/oblique/create_ap) | |
/usr/bin/DisarmBootScript | |
------------------------- | |
#!/bin/bash | |
/home/alarm/create_ap/create_ap -g 192.168.43.1 wlan0 eth0 DisarmHotspotDB | |
etc/systemd/system/DisarmBootScript.service | |
-------------------------------------------- | |
[Unit] | |
Description=DisarmBootScript | |
[Service] | |
ExecStart=/usr/bin/DisarmBootScript | |
[Install] | |
WantedBy=multi-user.target | |
/etc/systemd/system/mcs.service | |
-------------------------------- | |
[Unit] | |
Description=mcs | |
[Service] | |
#Default-HTTP | |
ExecStart=/usr/bin/python2 /home/alarm/offlinemcs/manage.py runserver 0.0.0.0:8000 | |
#NGINX | |
ExecStart=uwsgi --module=offlineMCS.wsgi:application --socket=127.0.0.1:8001 --chdir=/home/alarm/offlinemcs/ | |
[Install] | |
WantedBy=multi-user.target | |
/etc/systemd/system/psync.service | |
---------------------------------- | |
[Unit] | |
Description=psync | |
[Service] | |
ExecStart=/usr/lib/jvm/default/bin/java -jar /home/alarm/psyncPC.jar | |
[Install] | |
WantedBy=multi-user.target | |
*********************** | |
***** LINKS ***** | |
*********************** | |
offlineMCS : https://github.com/ItsForkIT/offlinemcs ( Accept the pull request ) | |
psync.jar : https://github.com/ItsForkIT/psync-pc/blob/master/distributables/psync-pc-jar-with-dependencies.jar | |
create_ap : github.com/oblique/create_ap | |
onlineMCS : https://github.com/ItsForkIT/onlinemcs | |
emb_services : https://github.com/ItsForkIT/emb_services | |
TwitterBot : https://github.com/ItsForkIT/TwitterBotXOB |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment