aboutsummaryrefslogtreecommitdiff
path: root/gn/services/bnw.service
blob: ec7b3f885d243af56894b260c0b04d5129d842cf (plain)
1
2
3
4
5
6
7
8
9
10
[Unit]
Description=BNW web server
Wants=guix-daemon.service

[Service]
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=/srv/http --network')"
ExecStart=/bin/bash -c '${BNW_COMMAND}'

[Install]
WantedBy=multi-user.target