about summary refs log tree commit diff
path: root/genenetwork/services/bnw.service
blob: b1abcf522f098d349ee70d8bc2ab40a5ae6e326e (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/gn-machines/genenetwork/services/bnw-container.scm --network')"
ExecStart=/bin/bash -c '${BNW_COMMAND}'

[Install]
WantedBy=multi-user.target