soyuz-web/soyuz-web.service

16 lines
319 B
Desktop File

[Service]
Type=simple
ExecStart=/usr/bin/node server.js
Restart=always
RestartSec=15
TimeoutSec=15
KillMode=process
User=gemini
WorkingDirectory=/home/gemini/soyuz-web
Environment="SOYUZ_PORT=1966"
Environment="GEMINI_PATH=/srv/gemini"
Environment="SOYUZ_SESSION_SECRET=change_me"
[Install]
WantedBy=multi-user.target