ily.li/app.service

17 lines
281 B
Desktop File

[Unit]
Description=ily.li website
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
User=ilyli
Group=ilyli
WorkingDirectory=/home/ilyli/live
Restart=on-success
Environment=NODE_ENV=production
ExecStart=/bin/node .
[Install]
WantedBy=multi-user.target