Add documentation
This commit is contained in:
13
samples/xmpp-lightning-antispam.service
Normal file
13
samples/xmpp-lightning-antispam.service
Normal file
@@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=XMPP Lightning Antispam bot
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=deploy
|
||||
WorkingDirectory=/opt/xmpp-lightning-antispam
|
||||
ExecStart=/usr/bin/node index.js
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user