1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nodebb_ynh.git synced 2024-09-03 19:46:29 +02:00

Create cryptpad.service

This commit is contained in:
frju365 2017-04-07 23:04:20 +02:00 committed by GitHub
parent 2c4d78ea75
commit 6bed751aee

15
conf/cryptpad.service Normal file
View file

@ -0,0 +1,15 @@
[Unit]
Description=CryptPad is an encrypted PAD Creator
After=syslog.target
After=network.target
[Service]
Type=simple
User=_USER_
WorkingDirectory=_DIRECTORY_
ExecStart=/usr/bin/node server.js --port _PORT_
Restart=always
Environment=USER=_APP_ HOME=_DIRECTORY_
[Install]
WantedBy=multi-user.target