Skip to content

Commit

Permalink
fix unit file for linger
Browse files Browse the repository at this point in the history
  • Loading branch information
cryi committed Jul 15, 2024
1 parent 332d709 commit a720b03
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
7 changes: 2 additions & 5 deletions src/__tezpay/assets/tezpay.template.service
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
[Unit]
Description={{{ID}}} tezpay service
After=network.target
Wants=default.target
StartLimitIntervalSec=0

[Service]
User={{{USER}}}
Group={{{USER}}}
RestartSec=20

Type=simple
Restart=always
RestartSec=20

Environment="HOME={{{ROOT_DIR}}}"
# bellow files can be loaded from custom paths
Expand Down
2 changes: 1 addition & 1 deletion src/ami.lua
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ return {
am.app.remove(require"__tezpay/constants".protectedFiles)
log_success('Application removed.')
else
log_warn"only whole tezpay ami instance can be remoced and requires --all parameter"
log_warn"only whole tezpay ami instance can be removed and requires --all parameter"
end
return
end
Expand Down
2 changes: 1 addition & 1 deletion src/specs.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.2.0+0.16.6-beta",
"version": "0.3.0+0.16.6-beta",
"id": "tzc.tezpay",
"dependencies": [
{
Expand Down

0 comments on commit a720b03

Please sign in to comment.