aboutsummaryrefslogtreecommitdiff
path: root/gn/services/bnw.service
blob: 5ba8f3f5e69b96220671df27d81f11c62807b78e (about) (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 --share=/home/bnw/server/var-log=/var/log --network')"
ExecStart=/bin/bash -c '${BNW_COMMAND}'

[Install]
WantedBy=multi-user.target