blob: 6ac99a14ab2604b254c239b9dfbf1c0a2cf4a18e (
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/var-log=/var/log --network')"
ExecStart=/bin/bash -c '${BNW_COMMAND}'
[Install]
WantedBy=multi-user.target
|