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/systemd.service

16 lines
309 B
SYSTEMD
Raw Normal View History

[Unit]
2018-04-17 10:39:20 +02:00
Description=CryptPad service
2018-08-23 00:06:23 +02:00
After=syslog.target network.target
[Service]
Type=simple
User=__APP__
Group=__APP__
WorkingDirectory=__FINALPATH__
2019-01-05 19:42:55 +01:00
Environment=NODE_ENV=production
ExecStart=/bin/sh -c 'node server' | tee /var/log/cryptpad/cryptpad.log
Restart=always
[Install]
WantedBy=multi-user.target