1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/cryptpad_ynh.git synced 2024-09-03 18:26:14 +02:00
cryptpad_ynh/conf/cryptpad.service

16 lines
302 B
SYSTEMD
Raw Normal View History

2017-04-07 23:04:20 +02:00
[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