You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
381 B

  1. [Unit]
  2. Description=BNW web server
  3. Wants=guix-daemon.service
  4. [Service]
  5. Environment="BNW_COMMAND=$(/bin/su -l bnw -c '/var/guix/profiles/per-user/bnw/current-guix/bin/guix system container /home/bnw/guix-bioinformatics/gn/services/bnw-container.scm --share=/home/bnw/server/var-log=/var/log --network')"
  6. ExecStart=/bin/bash -c '${BNW_COMMAND}'
  7. [Install]
  8. WantedBy=multi-user.target