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:
parent
2c4d78ea75
commit
6bed751aee
1 changed files with 15 additions and 0 deletions
15
conf/cryptpad.service
Normal file
15
conf/cryptpad.service
Normal 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
|
Loading…
Add table
Reference in a new issue