Skip to content

Instantly share code, notes, and snippets.

@joelpurra
Forked from virtualdreams/mono-server4.service
Created October 8, 2016 13:13
Show Gist options
  • Save joelpurra/ed06451fdbee0c7c54116778b6638682 to your computer and use it in GitHub Desktop.
Save joelpurra/ed06451fdbee0c7c54116778b6638682 to your computer and use it in GitHub Desktop.
systemd mono-server4 unit script
[Unit]
Description=FastCGI mono server 4
After=network.target
[Service]
Environment=MONO_IOMAP=all
EnvironmentFile=
Type=simple
ExecStart=/usr/bin/fastcgi-mono-server4 /applications=*:/:/srv/www/mvc/ /socket=tcp:127.0.0.1:9000
User=www-data
Group=www-data
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment