mirror of
https://github.com/YunoHost-Apps/cryptpad_ynh.git
synced 2024-09-03 18:26:14 +02:00
16 lines
302 B
SYSTEMD
16 lines
302 B
SYSTEMD
|
[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
|