Skip to content

Commit

Permalink
init scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
wyx2685 committed Dec 17, 2024
1 parent d46bd42 commit 79204a6
Show file tree
Hide file tree
Showing 4 changed files with 579 additions and 4 deletions.
20 changes: 20 additions & 0 deletions Scripts/PPanel-node.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[Unit]
Description=PPanel-node Service
After=network.target nss-lookup.target
Wants=network.target

[Service]
User=root
Group=root
Type=simple
LimitAS=infinity
LimitRSS=infinity
LimitCORE=infinity
LimitNOFILE=999999
WorkingDirectory=/usr/local/PPanel-node/
ExecStart=/usr/local/PPanel-node/ppnode server -c /etc/PPanel-node/config.json
Restart=always
RestartSec=10

[Install]
WantedBy=multi-user.target
Loading

0 comments on commit 79204a6

Please sign in to comment.