Skip to content

Commit

Permalink
Create icingatelegram.service
Browse files Browse the repository at this point in the history
  • Loading branch information
xyhtac committed Feb 5, 2024
1 parent 5e7f361 commit ca68ff7
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions scripts/icingatelegram.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[Unit]
Description=index.js - icingatelegram bot frontend
Documentation=https://github.com/xyhtac/icingatelegram
After=network.target

[Service]
Environment=NODE_PORT=443
Environment=NODE_ENV=dev
Environment=NODE_CONFIG_DIR=/opt/icingatelegram/icingatelegram
Type=simple
ExecStart=/usr/bin/node /opt/icingatelegram/icingatelegram/index.js
Restart=on-failure

[Install]
WantedBy=multi-user.target

0 comments on commit ca68ff7

Please sign in to comment.