You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
406 B
INI
16 lines
406 B
INI
[Unit]
|
|
Description=Rappli
|
|
After=network.target
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Restart=always
|
|
Type=simple
|
|
ExecStart=/home/ubuntu/.nvm/nvm-exec npm start
|
|
# TODO: Add a script which installs this service and sets the WorkingDirectory and Domain automatically
|
|
WorkingDirectory=/home/ubuntu/apps/rappli/
|
|
Environment='DOMAIN=rappli.ch' 'NODE_VERSION=18'
|
|
User=ubuntu
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |