diff options
author | nico <nico.wellpott@uni-oldenburg.de> | 2018-10-01 23:17:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-01 23:17:09 +0200 |
commit | 294a728b0f3cf4c335923b7fbe6bd7e137a3fee3 (patch) | |
tree | 958cdb90022791b0782d2ec7c0108e1c1a304b30 /magicbot.service.dummy | |
parent | b9a2e5adcda82bcf14e6a6ec3b504aec7908ec42 (diff) |
refactorization (#1)
* changed all lineendings to lf
* cleaned up main class
* refactor bot
* refactor bot functions
* moved functions.py to classes dir
* code comment changes
* changed code comment style
- removed unnecessary pass statement
+ added missing newline
* simplified function and return statements
Diffstat (limited to 'magicbot.service.dummy')
-rw-r--r-- | magicbot.service.dummy | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/magicbot.service.dummy b/magicbot.service.dummy index 44ae41f..5d3dd53 100644 --- a/magicbot.service.dummy +++ b/magicbot.service.dummy @@ -1,13 +1,13 @@ - [Unit]
- 2 Description=SlixXMPP service bot
- 3 After=network.target ejabberd.service
- 4
- 5 [Service]
- 6 Type=simple
- 7 ExecStart=/usr/bin/python3 /path/to/main.py
- 8 Restart=on-failure
- 9 RestartSec=60s
-10 User=nico
-11
-12 [Install]
-13 WantedBy=multi-user.target
+ [Unit] + 2 Description=SlixXMPP service bot + 3 After=network.target ejabberd.service + 4 + 5 [Service] + 6 Type=simple + 7 ExecStart=/usr/bin/python3 /path/to/main.py + 8 Restart=on-failure + 9 RestartSec=60s +10 User=nico +11 +12 [Install] +13 WantedBy=multi-user.target |