Skip to content

Instantly share code, notes, and snippets.

@virtualdreams
Created May 5, 2015 06:02
Show Gist options
  • Save virtualdreams/532a0953217da6e3dfc4 to your computer and use it in GitHub Desktop.
Save virtualdreams/532a0953217da6e3dfc4 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