-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
33 lines (24 loc) · 977 Bytes
/
README
File metadata and controls
33 lines (24 loc) · 977 Bytes
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
github-service-wrapper
======================
If you have a git project, that you want to run on an Debian derived server
(like Raspbian), and which you want to auto-update on restart of the server,
this script will help.
It will fetch the git repository into PATH, and create an init script to
update an run it using the specified command.
If you want to change the command options, you can rerun the setup script at
any time.
After a service has been setup, you can control it with:
/etc/init.d/<name> start
/etc/init.d/<name> stop
/etc/init.d/<name> restart
/etc/init.d/<name> status
usage: setup.py [-h] [--name NAME] [--path PATH] url cmd ...
Install new init script for github project.
positional arguments:
url URL to clone the git repo from.
cmd Command to run as the service.
cmd_args
optional arguments:
-h, --help show this help message and exit
--name NAME Service name.
--path PATH Where the git repo is created.