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

17 lines
305 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
2017-04-07 23:08:05 +02:00
User=__APP__
Group=__APP__
2017-04-07 23:04:20 +02:00
WorkingDirectory=_DIRECTORY_
2017-04-08 00:21:48 +02:00
ExecStart=/usr/bin/node server.js
2017-04-07 23:04:20 +02:00
Restart=always
2017-04-07 23:08:05 +02:00
Environment=USER=__APP__ HOME=_DIRECTORY_
2017-04-07 23:04:20 +02:00
[Install]
WantedBy=multi-user.target