[Unit]
Description=Test for User (daemon)
[Service]
ExecStart=/bin/sh -x -c 'test "$$USER" = "daemon"'
Type=oneshot
User=daemon