-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6b9bea1
commit 74027a3
Showing
2 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,6 @@ users: | |
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPIXu6mcNuozbbovc7PLAQAgJFC3VcV4B9Z/mc089Ofv [email protected] | ||
|
||
packages: | ||
- firewalld | ||
- mariadb-server | ||
- net-tools | ||
- python-requests | ||
|
@@ -32,9 +31,10 @@ runcmd: | |
- pushd /home/test/ | ||
- wget https://github.com/weshayutin/todolist-mariadb-go/releases/download/testing1/todolist-linux-amd64.zip | ||
- unzip todolist-linux-amd64.zip | ||
- cp systemd/todolist-mariadb.service /etc/systemd/user | ||
- cp systemd/todolist-mariadb.service /etc/systemd/system | ||
- popd | ||
- sudo systemctl --user daemon-reload | ||
- sudo systemctl --user start todolist-mariadb.service | ||
- sudo systemctl --user enable todolist-mariadb.service | ||
- systemctl --user daemon-reload | ||
- systemctl start todolist-mariadb.service | ||
- systemctl enable todolist-mariadb.service | ||
- systemctl status todolist-mariadb.service | ||
- systemctl disable cloud-init |
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