1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/hat_ynh.git synced 2024-09-03 19:16:04 +02:00
hat_ynh/conf/systemd.service

17 lines
329 B
SYSTEMD
Raw Normal View History

2022-05-28 17:05:04 +02:00
[Unit]
2023-08-18 11:19:59 +02:00
Description=Hat.sh: encrypt and decrypt files securely
2022-05-28 17:05:04 +02:00
After=network.target
[Service]
Type=simple
User=__APP__
Group=__APP__
2023-05-17 06:55:58 +02:00
Environment=NODE_PORT=__PORT__
2023-05-17 07:19:14 +02:00
WorkingDirectory=__INSTALL_DIR__
2022-05-28 17:05:04 +02:00
Environment=PATH=__ENV_PATH__
2023-05-17 06:55:58 +02:00
Environment=NODE_ENV=production
2023-05-17 07:28:48 +02:00
ExecStart=__YNH_NPM__ run start
2023-05-02 15:02:01 +02:00
2022-05-28 17:05:04 +02:00
[Install]
WantedBy=multi-user.target