mirror of
https://github.com/YunoHost-Apps/cryptpad_ynh.git
synced 2024-09-03 18:26:14 +02:00
17 lines
348 B
Desktop File
17 lines
348 B
Desktop File
[Unit]
|
|
Description=CryptPad service
|
|
After=syslog.target
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=__APP__
|
|
Group=__APP__
|
|
ExecStartPre=__NODEJS__
|
|
WorkingDirectory=__FINALPATH__
|
|
Environment="PATH=__ENV_PATH__"
|
|
ExecStart=__NODE__ __FINALPATH__/server.js | tee /var/log/cryptpad/cryptpad.log
|
|
Restart=always
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|