2023-01-11 13:34:06 +11:00
|
|
|
[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
|
2023-01-11 13:34:06 +11:00
|
|
|
Environment="SOYUZ_PORT=1966"
|
|
|
|
Environment="GEMINI_PATH=/srv/gemini"
|
|
|
|
Environment="SOYUZ_SESSION_SECRET=change_me"
|
2023-01-11 19:05:42 +11:00
|
|
|
|
2023-01-11 13:34:06 +11:00
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|