soyuz-web/soyuz-web.service

16 lines
319 B
SYSTEMD
Raw Permalink Normal View History

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