**Motivations:** - Document user systemd and keep secrets out of git **Root causes:** - N/A **Correctifs:** - N/A **Evolutions:** - .env gitignored; systemd/user template and README **Pages affectées:** - services/repos-devtools-server/.gitignore - services/repos-devtools-server/README.md - services/repos-devtools-server/systemd/user/*
15 lines
383 B
Desktop File
15 lines
383 B
Desktop File
[Unit]
|
|
Description=4NK repos-devtools-server (git API for /home/ncantu/code)
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
WorkingDirectory=/home/ncantu/code/smart_ide/services/repos-devtools-server
|
|
EnvironmentFile=/home/ncantu/code/smart_ide/services/repos-devtools-server/.env
|
|
ExecStart=/usr/bin/node dist/server.js
|
|
Restart=on-failure
|
|
RestartSec=3
|
|
|
|
[Install]
|
|
WantedBy=default.target
|